User profile: wolfv

User info
User name:wolfv
History
Joined:
Number of posts:176
Latest posts:

How to overload constructor to instantiate polymorphic object?
@coder777 now I see what you mean by "change the type to a pointer". This works: [code]#include <ios...

How to overload constructor to instantiate polymorphic object?
Hi coder777. "So why do you use reference at all?" refObjB needs to point to a classB object. The a...

How to overload constructor to instantiate polymorphic object?
Sorry I didn't mention that that classA is for a library. Most users of the library will only use t...

How to overload constructor to instantiate polymorphic object?
In the preceding example, ObjB1 is instantiated in global space, so it will consume RAM if it's used...

How to overload constructor to instantiate polymorphic object?
Thanks TheSmallGuy. That works! You are the smart guy. What is the "static" in line 13 for? This ...

This user does not accept Private Messages

User: wolfv

  • Public profile