I am trying to learn programming on my own but find myself getting stuck a lot. For example, I just wrote the simple maxLine program from K&R as an exercise, the compiler, gcc, gives me the following error when I define a symbolic constant MAXLINE=1000 in the code, but happily compiles the code when I use int 1000 directly:
maxLine.c:21: error: expected expression before ‘=’ token
so my question is, is there a good website/mail group where I can get help on these kind of issues, something very trivial to experts but could take me hours to figure it out.
thanks