Forum: C Jun 13th, 2009 |
| Replies: 8 Views: 877 void* ptr = buf_ptr[20]; //----------->error
what i want to say is "buf_ptr[20]" is not a pointer,it's
the value of the 20th in buf_ptr |
Forum: C Dec 17th, 2007 |
| Replies: 3 Views: 2,435 // fill in the array is not shown here
qsort(array, NumStrings, sizeof(array[0]), compare);
here,"sizeof(array[0])" is 20bytes;
// fill in the array is not shown here
qsort(array,... |