0

why did instantiation an object in source file out of member function? how can use from it?

I faced with a project as below : Test. h class Test { public: void foo() ; .... } ; extern Test theApp; ____________________ Test.cpp void Test:: foo( ) { .... } Test theApp;

16th Aug 2019, 1:07 PM
Alireza Abbasi
Alireza Abbasi - avatar
1 ответ