|
Re: PROGRAMMING PROBLEM HELP!
Whenever we have a syntax error in our code, and our code on the line and after the line is grammatically correct, our next step is to make sure we aren't defining something previously defined.
Then we look at the code above it for syntax errors. For instance, if you have a line of code before that like this:
int new_variable
and forget the semicolon, then it will cause the error on the next line following. Same goes for braces and brackets, etc.
The only other thing i can think of is that the typedef is inside a function, which causes problems.
|