T
Tony Johansson
Hello!!
I have these two statements
"typedef const char *enum_txt[];"
"enum_txt phase_tab =
{"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};"
It's no problem to put the first statement "typedef const char *enum_txt[];"
for example the public section.in the definition of the class but how do I
put
this statement "enum_txt phase_tab =
{"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};"
is the class definition because when I do I get compile error.
//Tony
I have these two statements
"typedef const char *enum_txt[];"
"enum_txt phase_tab =
{"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};"
It's no problem to put the first statement "typedef const char *enum_txt[];"
for example the public section.in the definition of the class but how do I
put
this statement "enum_txt phase_tab =
{"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};"
is the class definition because when I do I get compile error.
//Tony