T
Tony Johansson
Hello!
I have these two statements
typedef const char *enum_txt[];
and
enum_txt phase_tab
={"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};
where in the class definition should these be put.
What I think is that this statement "typedef const char *enum_txt[];"
must be put in the header file outside of the class definition and this
statement "enum_txt phase_tab
={"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};"
must be put in the implementation file outside of any functionmethod.
//Tony
I have these two statements
typedef const char *enum_txt[];
and
enum_txt phase_tab
={"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};
where in the class definition should these be put.
What I think is that this statement "typedef const char *enum_txt[];"
must be put in the header file outside of the class definition and this
statement "enum_txt phase_tab
={"IDLE","LAUNCHING","LAUNCHED","ROLLING","BOOSTERRELEASE","SPACE"};"
must be put in the implementation file outside of any functionmethod.
//Tony