I have an int pointer (i.e., int *count) that I want to increment the integer being pointed at by using the ++ operator. I thought I w
int
int *count
++
Try using (*count)++. *count++ might be incrementing the pointer to next position and then using indirection (which is unintentional).
(*count)++
*count++