E
Egbert Nierop \(MVP for IIS\)
I use these classes rather a time but never could make up a reason to decide
between declaring a member variable as a pointer or directly.
For instance
CIcon m_icon;
or
CIcon * m_icon;
The visual programming-difference is that when you use a pointer, you need
to 'new' and to 'delete' the instances. But what are the other pros/cons?
Thanks!
between declaring a member variable as a pointer or directly.
For instance
CIcon m_icon;
or
CIcon * m_icon;
The visual programming-difference is that when you use a pointer, you need
to 'new' and to 'delete' the instances. But what are the other pros/cons?
Thanks!