Ask your own question, for FREE!
Computer Science 18 Online
myininaya (myininaya):

myininaya just asked their first question! Click here to help. there is super( ) and java how do i use a function that means the something in c++ i mean what is the function

OpenStudy (anonymous):

do you mean you want to do something like super() in C++

OpenStudy (anonymous):

class Base {}; class Derived { Derived(): Base() { } } That will do something similar. The ": Base()" after the Derived constructor is what calls it.

myininaya (myininaya):

thanks so much :) i will try this

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!