Does commenting BubbleSort work on your machine? Doesn't on mine. I narrowed down the problem further. I think it may be a computer specific error, such as memory management problems. It isn't in either of the sorts though, not here anyways. I'll try to get around to testing it on a...
Okay, been hammering at it for a couple days now. Worked out all the sorting errors, such as the ones mentioned in your last post, however, the error still comes up. Troubleshooting has confirmed that minsort DOES finish sorting, and the program DOES return to FileAccess, and FileAccess...
chpicker:
Maybe you can find it there, but I sure can't. What I'm looking for is the standard help files, the type that VB5, Borland C/C++ 4.52 came with, where you could search a list of all keywords, get syntax, explanation and usually even a code example. That isn't installed here, and I...
Okay... tried that and it didn't solve the error. All that actually does is force on more iteration, so it's a little less efficient, but that causes no other problems. Also, the arrays should be randomized again between bubblesort and minsort. I've done that as well, and it solves nothing...
uhmm... I think the error may have more to do with the program as a whole, and if I send you a code snippet, you'll code the rest and end up with something completely different. It might work. So there it is. Please copy and paste into a compiler. It runs on its own and should give the error...
I have a simple program. It creates two arrays of random numbers (parallel) and then runs them through bubblesort and minsort functions. The problem is, halfway through the minsort function, it gets a very strange error popup box that states something along the lines of declaring and...
Well, I personally have no idea... BUT, I've noticed something. Whenever you run an uninstaller, it leaves certain files behind, namely the uninstaller and its dll's, etc. You always have to go in manual and delete the folder it was in. So I'm not sure what you want to do is possible, but I...
Hey, can someone provide me with syntax/a code example of a timer function that'll enable me to start timing, then finish timing after an event to determine it's duration? Thx.
Can someone give me the syntax/a code example of a timer function, where I could start and end a timer to determine the length of time a given operation took? Thx.
I know there is a random number function, and I knew how to use it, but the school's wonderful, up to date machines do not have help installed (to save hard drive space) so could someone please post a good syntax example for the rand() command? I need to generate 10,000 numbers to be inputted...
Can anyone point me to a good site or tutorial on them? Specifically, I need to research BubbleSort, Insertion Sort, Selection Sort. Any help would be greatly appreciated.
Thank you for explaining that bit. Is the book in English? Pardon me for being an ignorant Canadian. What I'm looking for is a link to an explanation of the various sorting algorithms, or just an explanation. I really don't want to go out and buy a book over this one little problem, and odds...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.