M
mickey.marshall
I have a simlpe project that has a base class and two inherited
classes.
I want to make a variable that gets initialzed and set one time and is
then accessable from all inherited classes.
I therefore made a global variable list in global.h and a function to
initialize them (pointers) in global.cpp.
act on the variables but in the inherited class, the variables are not
initialized.
What am I doing wrong?
MickeyM
classes.
I want to make a variable that gets initialzed and set one time and is
then accessable from all inherited classes.
I therefore made a global variable list in global.h and a function to
initialize them (pointers) in global.cpp.
the master class to set the values. The I call the inherited class toFrom the main dialog class I call the global init sub and then I call
act on the variables but in the inherited class, the variables are not
initialized.
What am I doing wrong?
MickeyM