I am new to C++ programming and I need your help:
Let's say I have a class - Class1. Is it possible to have another class (Class2) with (at least) one function that returns (for example) an integer? Here is an example with I want to achive:
std::cout << "I did it: " << Class1.Class2.ReturnINTEGER() << std::endl;
I need the code to be compatible with GNU G++ compiler. Thanks :).