I'm new to all of this and don't understand all the compiler warnings and errors.
What does " parse error before `[' " mean?
Printable View
I'm new to all of this and don't understand all the compiler warnings and errors.
What does " parse error before `[' " mean?
>What does " parse error before `[' " mean?
It means somewhere before (and including) the '[' character, you made a typo. I'll go out on a limb and guestimate that you meant '{' instead of '[', and that's your error.
Unfortunatley, the somwhat cryptic error messages compilers generate is another spanner in the learning process of a new language. It's a shame the compiler vendors do not supply a list of all the error messages and their basic meanings. But that would discourauge further learning :)
some doQuote:
Originally Posted by swgh
http://msdn2.microsoft.com/en-us/library/f69a8fb8.aspx
Just look for the error code on msdn
Oh yes, forgot about that. Microsoft Visual 2003 has an option called Error Lookup, is that the same thing? Ive never used it
No it is notQuote:
Originally Posted by swgh
Error Lookup tool is for errors returned by functions or GetLastError function.
It is in most cases equivalent to call of the FormatMessage. Of course you should know the module containing the error for calling it. ErrorLookup it seems to me looks through all knowen to it modules searching for the error code