If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
1103Post New C++ General Questions
What are the restrictions apply to constructors and destructors?
What are virtual functions in c++?
What is static class data?
Why is it necessary to use a reference in the argument to the copy constructor?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
Where and why do I have to put the "template" and "typename" keywords?
What is the prototype of printf function?
What is meant by entry controlled loop?
What is c++ hash?
What is the difference between public, private, and protected access?
What is polymorphism & list its types in c++?
What is an iterator class in c++?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
What is virtual destructor? What is its use?
Which is better c++ or java?