How to extend class to internal class?

I have the next structure

class SUPER {

class class1 {}

class class2 {}

class class3 {}

}

I want to get inheritance for class3 from class2
How to declare at .h and cpp files.

By now, my ide (QT) says me ' expected got ( } ' and I dont understand ....

Thanks
closed account (zb0S216C)
1
2
3
4
5
6
7
8
9
class SUPER {

class class1 {}  // <-- Missing the semicolon.

class class2 {}  // <-- Missing the semicolon.

class class3 {}  // <-- Missing the semicolon.

} // <-- Missing the semicolon. 
Last edited on
Topic archived. No new replies allowed.