I'm trying to understand how to access data from a pointer in memory. I have some code which is used for manipulating the data of an image. The code uses a uint8* pointer to reference the memory address of the image. The code has this as example of manipulating the image's data:

for ( long imageSize = WIDTH * HEIGHT; imageSize > 0; --imageSize) 		{ 			
    *(data++) = (uint8) fillValue; 		
can someone explain what's is going on? i.e. what is the ++ operator doing?

How would I go about reading the data in this image. For example if I knew it was an integer image?

Thanks for any pointers (sorry)