hi there
i'm new to C programming, and there's this code i'm trying to get running
this code is in a header file, and it's linked with my main program. however, it won't compile, saying there should be "=" or "," or ";" etc. before the "." token...? what does this mean?Code:typedef struct { char word[]; } dictionary; dictionary dict[749]; dict[0].word[] = "account"; dict[1].word[] = "act"; dict[2].word[] = "addition"; dict[3].word[] = "adjustment"; //... dict[748].word[] = "wrong";



LinkBack URL
About LinkBacks


