Search:

Type: Posts; User: VIgnotam

Search: Search took 0.00 seconds.

  1. Thanks Salem. That worked. I feel really...

    Thanks Salem. That worked.

    I feel really stupid because I'm 95% sure I tried that. When I was testing I was only changing the first argument after the control string in the printf() and I got an...
  2. I realize that and I've tried taking away the...

    I realize that and I've tried taking away the asterisk with no luck. The reason why I put it in was because qsort() passes a pointer to another pointer in this case. But you're right, it's wrong, but...
  3. Use qsort() to sort array of pointers to struct

    Hey Everyone,

    I'm fairly new to C and am having trouble sorting a linked list. To do this I decided to put the element pointers in an array and use qsort() to do the actual sorting by referencing...
Results 1 to 3 of 3