Click here to Skip to main content
15,920,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can this generate a memory leak? Pin
Joan M1-May-07 1:27
professionalJoan M1-May-07 1:27 
AnswerRe: Can this generate a memory leak? Pin
James R. Twine1-May-07 2:29
James R. Twine1-May-07 2:29 
QuestionSplitbars in VC++ Pin
neha.g3030-Apr-07 23:05
neha.g3030-Apr-07 23:05 
QuestionRe: Splitbars in VC++ Pin
Mark Salsbery1-May-07 5:57
Mark Salsbery1-May-07 5:57 
Questionthis code runnig in DOS C++, but don't running borland C++ 6 Pin
oz-gur30-Apr-07 23:01
oz-gur30-Apr-07 23:01 
AnswerRe: this code runnig in DOS C++, but don't running borland C++ 6 Pin
toxcct30-Apr-07 23:27
toxcct30-Apr-07 23:27 
QuestionDoes virtual function really influence the performance? Pin
code_discuss30-Apr-07 22:38
code_discuss30-Apr-07 22:38 
AnswerRe: Does virtual function really influence the performance? Pin
Arman S.1-May-07 1:30
Arman S.1-May-07 1:30 
Yes there is overhead on performance. But it is very important to understand the virtue/performace relation when using virtual functions. I mean, one should avoid using virtual functions in low level operations such as accessing each character in a sequence. But for not so heavy and/or intensive operations you can [and sometimes should] ignore performance issues.

As for MFC, a good candidate area of using virtual functions is message handlers. But MFC refused virtual functions and used message maps. Really, so many classes with so many virtual functions would indeed decrease speed and increase memory usage.

--
=====
Arman

QuestionHow we can make a tooltip for a button Pin
mt_samiei30-Apr-07 21:41
mt_samiei30-Apr-07 21:41 
AnswerRe: How we can make a tooltip for a button Pin
Hamid_RT30-Apr-07 21:47
Hamid_RT30-Apr-07 21:47 
GeneralRe: How we can make a tooltip for a button Pin
mt_samiei30-Apr-07 22:05
mt_samiei30-Apr-07 22:05 
QuestionAVI file to play using Animation control Pin
YUANGE30-Apr-07 20:51
YUANGE30-Apr-07 20:51 
AnswerRe: AVI file to play using Animation control Pin
Hamid_RT30-Apr-07 21:34
Hamid_RT30-Apr-07 21:34 
GeneralRe: AVI file to play using Animation control Pin
YUANGE30-Apr-07 21:52
YUANGE30-Apr-07 21:52 
GeneralRe: AVI file to play using Animation control Pin
Hamid_RT1-May-07 5:29
Hamid_RT1-May-07 5:29 
GeneralRe: AVI file to play using Animation control Pin
Mark Salsbery1-May-07 6:01
Mark Salsbery1-May-07 6:01 
GeneralRe: AVI file to play using Animation control Pin
YUANGE2-May-07 7:02
YUANGE2-May-07 7:02 
GeneralRe: AVI file to play using Animation control Pin
Mark Salsbery2-May-07 9:40
Mark Salsbery2-May-07 9:40 
QuestionDisplay Bitmap By adding resource VC++ 2003 MFC Pin
YUANGE30-Apr-07 20:36
YUANGE30-Apr-07 20:36 
AnswerRe: Display Bitmap By adding resource VC++ 2003 MFC Pin
John R. Shaw30-Apr-07 21:14
John R. Shaw30-Apr-07 21:14 
GeneralRe: Display Bitmap By adding resource VC++ 2003 MFC Pin
YUANGE30-Apr-07 21:27
YUANGE30-Apr-07 21:27 
AnswerRe: Display Bitmap By adding resource VC++ 2003 MFC Pin
Hamid_RT30-Apr-07 21:28
Hamid_RT30-Apr-07 21:28 
QuestionDynamic memory allocation revisited. Pin
C_Zealot30-Apr-07 18:04
C_Zealot30-Apr-07 18:04 
AnswerRe: Dynamic memory allocation revisited. Pin
David Nash30-Apr-07 18:38
David Nash30-Apr-07 18:38 
GeneralRe: Dynamic memory allocation revisited. Pin
C_Zealot30-Apr-07 19:34
C_Zealot30-Apr-07 19:34 

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.