Click here to Skip to main content
15,911,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Compare/Convert Float to Text Pin
Jeff Archer24-Aug-10 4:02
Jeff Archer24-Aug-10 4:02 
AnswerRe: Compare/Convert Float to Text Pin
Luc Pattyn24-Aug-10 4:57
sitebuilderLuc Pattyn24-Aug-10 4:57 
AnswerRe: Compare/Convert Float to Text Pin
glwentworth24-Aug-10 6:18
professionalglwentworth24-Aug-10 6:18 
QuestionVS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 6:56
professionalChesnokov Yuriy23-Aug-10 6:56 
AnswerRe: VS2010 debugger can not see some local variables? Pin
Richard MacCutchan23-Aug-10 7:18
mveRichard MacCutchan23-Aug-10 7:18 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 20:24
professionalChesnokov Yuriy23-Aug-10 20:24 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Richard MacCutchan23-Aug-10 21:01
mveRichard MacCutchan23-Aug-10 21:01 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 21:03
professionalChesnokov Yuriy23-Aug-10 21:03 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Richard MacCutchan24-Aug-10 2:42
mveRichard MacCutchan24-Aug-10 2:42 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy24-Aug-10 2:55
professionalChesnokov Yuriy24-Aug-10 2:55 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Richard MacCutchan24-Aug-10 3:20
mveRichard MacCutchan24-Aug-10 3:20 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy24-Aug-10 3:36
professionalChesnokov Yuriy24-Aug-10 3:36 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Richard MacCutchan24-Aug-10 5:17
mveRichard MacCutchan24-Aug-10 5:17 
AnswerRe: VS2010 debugger can not see some local variables? Pin
Aescleal23-Aug-10 7:51
Aescleal23-Aug-10 7:51 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 20:28
professionalChesnokov Yuriy23-Aug-10 20:28 
AnswerRe: VS2010 debugger can not see some local variables? Pin
Iain Clarke, Warrior Programmer23-Aug-10 7:59
Iain Clarke, Warrior Programmer23-Aug-10 7:59 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 20:30
professionalChesnokov Yuriy23-Aug-10 20:30 
AnswerRe: VS2010 debugger can not see some local variables? Pin
fasked23-Aug-10 18:54
fasked23-Aug-10 18:54 
GeneralRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 20:31
professionalChesnokov Yuriy23-Aug-10 20:31 
AnswerRe: VS2010 debugger can not see some local variables? Pin
Chesnokov Yuriy23-Aug-10 21:04
professionalChesnokov Yuriy23-Aug-10 21:04 
Questionfrequent memory allocation processing cost Pin
Chesnokov Yuriy23-Aug-10 6:50
professionalChesnokov Yuriy23-Aug-10 6:50 
AnswerRe: frequent memory allocation processing cost Pin
Maximilien23-Aug-10 7:06
Maximilien23-Aug-10 7:06 
AnswerRe: frequent memory allocation processing cost Pin
Aescleal23-Aug-10 7:45
Aescleal23-Aug-10 7:45 
AnswerRe: frequent memory allocation processing cost Pin
Luc Pattyn23-Aug-10 8:48
sitebuilderLuc Pattyn23-Aug-10 8:48 
AnswerRe: frequent memory allocation processing cost Pin
Paul Michalik23-Aug-10 22:51
Paul Michalik23-Aug-10 22:51 
Don't forget: "Early optimization is the root of all evils"... Well, I prefer to weaken this famous sentence by replacing "all" with "many", but anyway: The advice given above might pay off, but for different reason independent of using new or malloc:

If you allocate and release on free store with high frequency, (possibly in a long running application) you almost certainly run into fragmentation issues making allocations increasingly slow or impossible... As mentioned above new invokes constructors and some mechanics regarding correct behaviour in case of exceptions. You should not give this up - In our team, I do not accept c++ code which contains other free store queries than new and delete

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.