User profile: aclark17

User info
User name:aclark17
History
Joined:
Number of posts:16
Latest posts:

Base class ctor
If i have 3 classes to inherit as follows a:b:c And the following line included in main function...

c++ generic struct
Why wont this compile template <class t> struct a { a(t& ty=t() ,a* p=0):o(ty),n(p){} t& o; ...

inheritance ctors
How should i solve thos problem virtual keywords global varibles

inheritance ctors
// see main() #include <iostream> #include<string> using namespace std; class x { publ...

static members
Would a call to setx within the ctor of A change the value of x A() { setx(2); }

This user does not accept Private Messages

User: aclark17

  • Public profile