Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How my parent window class could be notified of its child's windows movement? Pin
BobInNJ14-Nov-09 5:49
BobInNJ14-Nov-09 5:49 
GeneralRe: How my parent window class could be notified of its child's windows movement? Pin
A&Ms14-Nov-09 16:39
A&Ms14-Nov-09 16:39 
GeneralRe: How my parent window class could be notified of its child's windows movement? Pin
BobInNJ19-Nov-09 5:38
BobInNJ19-Nov-09 5:38 
Questionwhy execution time of program varies with identical initial settings? Pin
jianzhuhuai14-Nov-09 1:23
jianzhuhuai14-Nov-09 1:23 
AnswerRe: why execution time of program varies with identical initial settings? Pin
LunaticFringe14-Nov-09 2:41
LunaticFringe14-Nov-09 2:41 
AnswerRe: why execution time of program varies with identical initial settings? Pin
BobInNJ14-Nov-09 5:43
BobInNJ14-Nov-09 5:43 
GeneralRe: why execution time of program varies with identical initial settings? Pin
jianzhuhuai18-Nov-09 3:22
jianzhuhuai18-Nov-09 3:22 
GeneralRe: why execution time of program varies with identical initial settings? Pin
BobInNJ19-Nov-09 5:34
BobInNJ19-Nov-09 5:34 
First, I want to be honest with you, I do not know what is going one. Therefore, what
I am going to suggest is probably wrong. One possibility is that your code makes heavy
use of dynamic memory allocation and that the heap is not in the best of shape. Therefore, later runs take more time.

Another possibility is that the times you are seeing are not quite right. That is, they are only accurate with a second. I am also wondering if it could be machine specific. Does it exhibit this behavior on more than one machine?

By the way, if it was my program, I would not worry about this variation in time. I hope this helps.

Bob
GeneralRe: why execution time of program varies with identical initial settings? Pin
jianzhuhuai23-Nov-09 0:34
jianzhuhuai23-Nov-09 0:34 
Question[Message Deleted] Pin
kumar sanghvi13-Nov-09 23:56
kumar sanghvi13-Nov-09 23:56 
AnswerRe: singleton Pin
Richard MacCutchan14-Nov-09 0:38
mveRichard MacCutchan14-Nov-09 0:38 
Questioninitialisation inside struct Pin
kumar sanghvi13-Nov-09 23:20
kumar sanghvi13-Nov-09 23:20 
AnswerRe: initialisation inside struct Pin
Richard MacCutchan14-Nov-09 0:47
mveRichard MacCutchan14-Nov-09 0:47 
Questionhow to display a bitmap which have 24 colors Pin
tfzxyinhao13-Nov-09 23:05
tfzxyinhao13-Nov-09 23:05 
AnswerRe: how to display a bitmap which have 24 colors Pin
Hadi Dayvary14-Nov-09 1:02
professionalHadi Dayvary14-Nov-09 1:02 
GeneralRe: how to display a bitmap which have 24 colors Pin
tfzxyinhao14-Nov-09 2:14
tfzxyinhao14-Nov-09 2:14 
GeneralRe: how to display a bitmap which have 24 colors Pin
Hadi Dayvary14-Nov-09 2:26
professionalHadi Dayvary14-Nov-09 2:26 
GeneralRe: how to display a bitmap which have 24 colors Pin
tfzxyinhao14-Nov-09 3:00
tfzxyinhao14-Nov-09 3:00 
GeneralRe: how to display a bitmap which have 24 colors Pin
Hadi Dayvary14-Nov-09 3:26
professionalHadi Dayvary14-Nov-09 3:26 
GeneralRe: how to display a bitmap which have 24 colors Pin
jianzhuhuai18-Nov-09 2:38
jianzhuhuai18-Nov-09 2:38 
QuestionWhen is "bmp" not equal to "bmp"? Pin
Sauce!13-Nov-09 20:34
Sauce!13-Nov-09 20:34 
AnswerRe: When is "bmp" not equal to "bmp"? Pin
«_Superman_»14-Nov-09 9:28
professional«_Superman_»14-Nov-09 9:28 
GeneralRe: When is "bmp" not equal to "bmp"? Pin
Sauce!14-Nov-09 13:08
Sauce!14-Nov-09 13:08 
QuestionVertical Text in OnDraw() Pin
Anu_Bala13-Nov-09 20:14
Anu_Bala13-Nov-09 20:14 
AnswerRe: Vertical Text in OnDraw() Pin
Hadi Dayvary13-Nov-09 22:02
professionalHadi Dayvary13-Nov-09 22:02 

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.