This is my .h file: Entity.h I have to make 9 classes, each one is inherited or derived from the other. The Father class is Entity. Entity is the class name. The Entity class has two private members that are: string m_name; and char m_symbol; These member variables aren't set to do anything yet, all I have to do is set up a .cpp file that will correlate with them and compile. I need help setting up the .cpp file that will correlate with my .h file. Again, they don't do anything yet, they just have to connect with each other and compile in unix. Can someone get me started on the Syntax of the Entity.cpp file I need to create? I'm rusty in C++ and am lost.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
//No information yet...
Our teacher said we don't need to use a int main func () on any of these yet.
Any help is greatly appreciated,