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;
This is a discussion on Debugging error within the C Programming forums, part of the General Programming Boards category; I get the following error code: error: expected =, ,, ;, asm or __attribute__ before struct for the code below: ...
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.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
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.