My official 1st post; coming from x86 AsmLanguage now learning C for Linux sake. Linux rules!
Refer to CProgrammingDotComForwardSlashTutorialFwdslashLess on7DotHTML
respectively.
Problem:
then:Code:typedef struct { int name_of_variable; }Tag;
Results: FAIL; Illegal usage perhaps?Code:char* structureName = "name_of_single_structure"; /*code-generated name*/ Tag *structureName.name_of_variable = 33;
Question:
How to make this work? I want my code to make it's own structure names, in this case, "name_of_single_structure", which would result to:
Is this possible?Code:Tag name_of_single_structure; /*code-generated name*/ name_of_single_structure.name_of_variable = 33;



LinkBack URL
About LinkBacks



