I get the following error code:
error: expected =, ,, ;, asm or __attribute__ before struct
for the code below:
Could someone tell me what is wrong with that?Code:typdef struct { char data[1024]; } page;
I get the following error code:
error: expected =, ,, ;, asm or __attribute__ before struct
for the code below:
Could someone tell me what is wrong with that?Code:typdef struct { char data[1024]; } page;
typdef should be typedef.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Thank you! Can't believe I couldn't spot that.
Get a editor/IDE that supports syntax highlighting. Then, all your keywords will show up in a certain color text, and such misspellings will stand out.