c++ - Inheritance misfit -


i ' m having 3 classes, a, b , c

class { };  class b : public { }; 

however, c has derived a, , b meantime:

i did:

class c : public a, public b { }; 

but didn't work!

the way have written currently, class c deriving a twice (once directly, , once indirectly b)


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -