Mail Archives: djgpp/1998/01/17/00:30:49
HackerOC3 wrote:
> printf("y value?");
> int y;
> scanf(" %d", &y);
> printf("c value?");
> int c;
> scanf(" %d", &c);
>
> what's wrong there? "Parse error before int"
> what gives????!!!!!
Because in C you can only declare variables at the beginning of a block.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://www.alcyone.com/max/
San Jose, California, United States / icbm://+37.20.07/-121.53.38
\
"Life may be / the product of imperfections."
/ (Marclo Gleiser)
- Raw text -