My official 1st post; coming from x86 AsmLanguage now learning C for Linux sake. Linux rules!
Refer to CProgrammingDotComForwardSlashTutorialFwdslashLess on7DotHTML
respectively.
Problem:
Code:
typedef struct {
int name_of_variable;
}Tag;
then:
Code:
char* structureName = "name_of_single_structure"; /*code-generated name*/
Tag *structureName.name_of_variable = 33;
Results: FAIL; Illegal usage perhaps?
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:
Code:
Tag name_of_single_structure; /*code-generated name*/
name_of_single_structure.name_of_variable = 33;
Is this possible?