User: americanxo

  • Public profile

User profile: americanxo

User info
User name:americanxo
History
Joined:
Number of posts:51
Latest posts:

Copy constructor in derived class
what if the base class doesn't have a user defined copy constructor ? what should i implement in the...

Copy constructor in derived class
[quote] In your case derived copy constructor should look like that: [code] derive(const derive& oth...

Copy constructor in derived class
[quote] A constructor of class derive has access to the private members of class derive. Therefore, ...

Copy constructor in derived class
let's say if i have 2 classes like: [code] class base{ private: int age; ...

declaring variable within a function
[quote] { [code] int function( int first, int second ) { // local variable with automati...

This user does not accept Private Messages