Guest_imported
New member
- Jan 1, 1970
- 0
I get the following error message and I am not sure what it means.
----
double tots::m is static; only point of initialization is its declaration
----
I have the following defined at the beginning of my program
////////////
#include "form2.h"
#include "tots.h"
tots::tots():m(form2::num)
//////////////
....For some reason it does not like my declaration above. m is a double static variable and I want it to be initialized to the value of form2 in num...Any idea what's going on? Thanks
----
double tots::m is static; only point of initialization is its declaration
----
I have the following defined at the beginning of my program
////////////
#include "form2.h"
#include "tots.h"
tots::tots():m(form2::num)
//////////////
....For some reason it does not like my declaration above. m is a double static variable and I want it to be initialized to the value of form2 in num...Any idea what's going on? Thanks