Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Chemakill

    Here's a new error

    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...
  2. Chemakill

    Here's a new error

    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...
  3. Chemakill

    Syntax for random number function

    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...
  4. Chemakill

    Here's a new error

    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...
  5. Chemakill

    Here's a new error

    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...
  6. Chemakill

    Here's a new error

    //This program uses the MinSort and BubbleSort algorithms. #include<stdio.h> #include<stdlib.h> #include<time.h> void Randomizer(); void BubbleSort(short[], short[]); void MinSort(short[], short[]); void main() { printf(&quot;****\nMain\n****\n\n&quot;); Randomizer(); } void...
  7. Chemakill

    Here's a new 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...
  8. Chemakill

    How mark file to delete after restarting?

    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...
  9. Chemakill

    Counting Time

    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.
  10. Chemakill

    Counting time

    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.
  11. Chemakill

    Syntax for random number function

    Isn't rand supposed to be initialized?
  12. Chemakill

    Syntax for random number function

    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...
  13. Chemakill

    Sorting Algorithms

    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.
  14. Chemakill

    Sorting Algorithms

    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...
  15. Chemakill

    Sorting Algorithms

    Erm... I have no idea what you are saying. all of them are in <algorithm>. Every book about STL describe it fine. What does that mean? I need a link to a good site, a good FAQ, or just a plain old explanation of the major sorting algorithms.
  16. Chemakill

    Sorting Algorithms

    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.
  17. Chemakill

    How to change default Visual C++ version

    Well the regedit fix is permanent and affects all occurences. So the only way around your problem would seem to be to give into Bill and migrate to 6.0.
  18. Chemakill

    Listing all nodes in a 'Tree'

    Well, I guess my computer is pretty much wacked right now. So disregard one of those posts, I guess. And you'll notice that the code has been migrated from a dynamic link list (the payroll function has not been touched yet).
  19. Chemakill

    Listing all nodes in a 'Tree'

    Okay, the delete function has been solved. But the question remains; how to list all nodes in a tree without recursion? The following is my code. It gets exactly six illegal escape sequence errors that I do not understand. And yes, this IS high school programming class, but we were told to...

Part and Inventory Search

Back
Top