Click here to Skip to main content
15,892,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Using Microsofts Windows XP icons? Licensing? Pin
Graham Bradshaw19-Aug-05 10:19
Graham Bradshaw19-Aug-05 10:19 
QuestionHow many instances??? Pin
Renjith Ramachandran19-Aug-05 7:42
Renjith Ramachandran19-Aug-05 7:42 
AnswerRe: How many instances??? Pin
try8819-Aug-05 7:48
try8819-Aug-05 7:48 
AnswerRe: How many instances??? Pin
S. Senthil Kumar19-Aug-05 7:49
S. Senthil Kumar19-Aug-05 7:49 
GeneralRe: How many instances??? Pin
toxcct19-Aug-05 7:54
toxcct19-Aug-05 7:54 
GeneralRe: How many instances??? Pin
Renjith Ramachandran19-Aug-05 20:03
Renjith Ramachandran19-Aug-05 20:03 
GeneralRe: How many instances??? Pin
toxcct19-Aug-05 22:29
toxcct19-Aug-05 22:29 
GeneralRe: How many instances??? Pin
S. Senthil Kumar20-Aug-05 0:53
S. Senthil Kumar20-Aug-05 0:53 
Writing a virtual destructor for a base class is generally a good idea, but is not absolutely necessary for this application.

That apart, my interpretation of the OP's question was that he wanted to count only explicitly created instances of CBase, that's why I suggested decrementing it in derived class constructors.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: How many instances??? Pin
Renjith Ramachandran19-Aug-05 20:00
Renjith Ramachandran19-Aug-05 20:00 
GeneralRe: How many instances??? Pin
S. Senthil Kumar19-Aug-05 21:05
S. Senthil Kumar19-Aug-05 21:05 
Generalmanaging char arrays Pin
elephantstar19-Aug-05 7:40
elephantstar19-Aug-05 7:40 
GeneralRe: managing char arrays Pin
try8819-Aug-05 7:49
try8819-Aug-05 7:49 
GeneralRe: managing char arrays Pin
S. Senthil Kumar19-Aug-05 7:50
S. Senthil Kumar19-Aug-05 7:50 
GeneralRe: managing char arrays Pin
toxcct19-Aug-05 7:58
toxcct19-Aug-05 7:58 
GeneralRe: managing char arrays Pin
S. Senthil Kumar19-Aug-05 8:09
S. Senthil Kumar19-Aug-05 8:09 
GeneralRe: managing char arrays Pin
toxcct19-Aug-05 22:18
toxcct19-Aug-05 22:18 
GeneralRe: managing char arrays Pin
elephantstar19-Aug-05 8:02
elephantstar19-Aug-05 8:02 
GeneralRe: managing char arrays Pin
David Crow19-Aug-05 8:09
David Crow19-Aug-05 8:09 
GeneralRe: managing char arrays Pin
David Crow19-Aug-05 8:05
David Crow19-Aug-05 8:05 
GeneralRe: managing char arrays Pin
elephantstar19-Aug-05 8:33
elephantstar19-Aug-05 8:33 
GeneralRe: managing char arrays Pin
David Crow19-Aug-05 8:40
David Crow19-Aug-05 8:40 
GeneralRe: managing char arrays Pin
elephantstar19-Aug-05 10:02
elephantstar19-Aug-05 10:02 
GeneralRe: managing char arrays Pin
David Crow19-Aug-05 10:24
David Crow19-Aug-05 10:24 
GeneralRe: managing char arrays Pin
elephantstar19-Aug-05 13:14
elephantstar19-Aug-05 13:14 
GeneralDifference between a win32 application and a win32 concole application Pin
celllllllll19-Aug-05 7:21
celllllllll19-Aug-05 7:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.