Forum: C++ Aug 6th, 2004 |
| Replies: 2 Views: 2,227 i'm not sure if i understand your question. of course after it's sorted there won't be any swaps needed. the part that i left out of the code is where i fill the array with random numbers (sorry).... |
Forum: C++ Aug 6th, 2004 |
| Replies: 2 Views: 2,227 i'm trying to keep track of how many comparisons and swaps my sorting algorithms are making. i know it's probably a variable referencing problem, but i can't seem to get it to work right. it's fine... |
Forum: C++ Aug 1st, 2004 |
| Replies: 1 Views: 6,107 i'm trying to create a chained hash table using a linked list header file, but there's a problem with my insert function. here's the relevant portion. the error comes in the part that is in red.... |