|
I want to use a class status, and class members use static variables to record real-time changing status information of the program.
However, in the initialization function of the dialog cmydialog, an error is reported when initializing its static variables:
unresolved external sysmbol: public static status My static variable member ...
If you delete #include "status.h" in cmydialog.cpp, you cannot recognize the status class. If you include an include statement, the above error is reported.
Does that hero give pointers? |
|