I'm new to all of this and don't understand all the compiler warnings and errors.
What does " parse error before `[' " mean?
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.
My best code is written with the delete key.
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
Double Helix STL
some doOriginally Posted by swgh
http://msdn2.microsoft.com/en-us/library/f69a8fb8.aspx
Just look for the error code on msdn
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
Oh yes, forgot about that. Microsoft Visual 2003 has an option called Error Lookup, is that the same thing? Ive never used it
Double Helix STL
No it is notOriginally 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
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler