I'm a newbye with C++ and I come from Java;
I've more or less found out how to use different cpp files using .h files, then I wrote a class over my main() method.
What I would like to do now is to put the class in an another file, like Class.cpp
and make its header. The problem is when I build the main program: it states "undefined reference to <class>::<method>"
I think I'm making some mistake writing the h file. Which is the correct way?
If necessary, I can post the code, it's very short.