How can I define a variable, e.g. "MYPROC MyProc;" so that it can be used in
everywhere, in Main.cpp, or Blahblah.cpp?
I've tried to declare this variable in a header file, then having both
Main.cpp and Blahblah.cpp including this header file, but seems it is not OK
to do so, how can I fix this problem?
I appreciate any help.
David