Very Very Simple C Question

Started by AGP, June 20, 2009, 07:27:27 PM

Previous topic - Next topic

paulscode

Greate you figured it out.  However, I thought you would use cursor->canvas++ to increase the pointer index.  Using *cursor->canvas++ instead would increment the char at the current index, wouldn't it?  You should verify which way is correct, since it has been a while since I've used c pointers this way.

AGP

That's what happens when you let your fingers do the typing for you! In the code I did it your way, though.