Ok I am using Microsoft's Visual C++ compiler and I am just playing around with unary math operators to see how they work and what they do so anyways, I decided to try a for(whatever) function and I almost got it except my compiler complains about me using "old style formal list" or something like that here it is:
Ok that is what is messing up, I know it is because I have the semi colon after printLine() but if I don't put it it I get:Code:printLine(); { for(c>0; c--) { printf("Line %d", c); } }
"missing ';' before ')'"
and 2 warnings as well, can anyone help out here please.