|
-
Jul 7th, 2002, 02:07 PM
#1
Inheritence
I have a class Cube, and a class that inherits cube called fallingCube.
In the fallingCube.h file I have:
class fallingCube : public cube {
at the top of this header file I have #include "cube.h".
But when I compile it says:
error C2504: 'cube' : base class undefined
Anyone?
Nomad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|