adding 1 to a value via a pointer too it
in playing with sorting algorithms i tried a quick sort copied from a website and passed in as an extra argument a pointer to count just to see how many operations it saved (439,152 iterations provided of course my count works) my first try was to increment count with *count++ this produced a warning saying computed value not used so i tried *count += 1 no warning and it worked.
question is can you not use the ++ operator on pointers in that sense or more likely did i do something wrong.
coop