Original Post
Hello,
I have a small question relating C++. If 3 classes, one called:
"Main" is in Main.cpp,
"Other" is in Other.cpp,
"Cool" is in Cool.cpp.
Lets assume I make an instance of the class "Other" inside Main.cpp called "otherInstance" and call a method doSomething() on that instance ( otherInstance.doSomething() ). How can I call that exact method, on that exact instance of the class from Cool.cpp ?
I apologize if my "lingo" might be off, but i just migrated from java
thanks,
Amsok