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;
Printable View
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.
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.