|
-
August 24th, 2009, 10:28 AM
#1
Simple class declaration question
Hello,
I have seen a class declaration like this:
class ClassA NewClass public: ClassB
I can see that ClassB is the base class of NewClass, but I cannot understand why ClassA was put before NewClass... If that program didn't work, I would think it is a bug and simply type:
class NewClass public: ClassB
Thanks in advance.
Tags for this Thread
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
|