Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class classA {
- public:
- CString aString;
- };
- extern classA theApp;
- theApp.aString = "test string";
- class classA {
- public:
- CString aString;
- void set_string()
- {
- aString = "test string 2";
- }
- };
- extern classA theApp;
- //in another class function
- theApp.set_string();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement