posted 23 years ago
You can't mix your style of declaration. Same as typing your declarations on one line, you either declare them all on one line with the int at the beginning, or you declare them all on separate lines.
You can say:
int i=0, j=3, k=9;
but you can't say:
int i=0, int j=3, int k=9;
or:
int i;
i=0, int j=3;
Bill