how to create a object containing only shared variables
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I'm write project under VC++ in .Net framework. I need to write shared.cpp/shared.h to including all global constants which used by other .cpp/.h files in the same project. i.e. Once x is defined in this shared file and don't need to be defined in any other .ccp/.h files and can be directly used. String* x = new String(" NAME ");