User profile: codeinode

User info
User name:codeinode
Name:Evan Leslie
Number of posts:7
Latest posts:

Proper use of constructors
Constructors are supposed to initialize object variables with values. You can create a get and set m...

C++ templates
@mbozzi @TheToaster Thanks for your help, I now have a basic idea what the compiler does. This paddi...

C++ templates
Please consider the snippet below: [code] #include<iostream> using namespace std; template<c...

Help regarding vtable and virtual functions
Say I modify the fx fun() as: [code]void fun(int x = 3)[/code] and keep fun() in Base class as [cod...

Struct and Void functions
Why not include the 'category' member in the struct itself? That way, you can decide what the catego...