Click here to Skip to main content
16,020,741 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GetLastWriteTime always return 0 seconds Pin
Chris Meech15-Nov-07 6:35
Chris Meech15-Nov-07 6:35 
AnswerRe: GetLastWriteTime always return 0 seconds Pin
Luc Pattyn15-Nov-07 8:08
sitebuilderLuc Pattyn15-Nov-07 8:08 
Questionreserve method of vector Pin
George_George15-Nov-07 4:49
George_George15-Nov-07 4:49 
AnswerRe: reserve method of vector Pin
Nemanja Trifunovic15-Nov-07 4:56
Nemanja Trifunovic15-Nov-07 4:56 
GeneralRe: reserve method of vector Pin
George_George15-Nov-07 15:54
George_George15-Nov-07 15:54 
AnswerRe: reserve method of vector Pin
led mike15-Nov-07 4:58
led mike15-Nov-07 4:58 
GeneralRe: reserve method of vector Pin
George_George15-Nov-07 16:07
George_George15-Nov-07 16:07 
GeneralRe: reserve method of vector Pin
led mike16-Nov-07 5:04
led mike16-Nov-07 5:04 
George_George wrote:
but how will reserve improve the performance of insert?


again, only if the insert does not cause the current allocation to be exceeded. That is the basis of the optimization, the minimization of heap allocations. On an insert if adequate memory has already been allocated by the reserver() call, then a memmove followed by the assignment of the inserting value could accomplish the insert.



GeneralRe: reserve method of vector Pin
George_George18-Nov-07 1:25
George_George18-Nov-07 1:25 
GeneralRe: reserve method of vector Pin
Matthew Faithfull15-Nov-07 5:07
Matthew Faithfull15-Nov-07 5:07 
GeneralRe: reserve method of vector Pin
George_George15-Nov-07 16:29
George_George15-Nov-07 16:29 
QuestionHttp Request Pin
San246815-Nov-07 4:28
San246815-Nov-07 4:28 
AnswerRe: Http Request Pin
led mike15-Nov-07 4:54
led mike15-Nov-07 4:54 
GeneralRe: Http Request Pin
San246815-Nov-07 5:10
San246815-Nov-07 5:10 
GeneralRe: Http Request Pin
led mike15-Nov-07 5:25
led mike15-Nov-07 5:25 
Questionchanging the cursor postion in a editable combobox??? Pin
SnaKeBeD15-Nov-07 3:39
SnaKeBeD15-Nov-07 3:39 
AnswerRe: changing the cursor postion in a editable combobox??? Pin
DoomedOne15-Nov-07 5:34
DoomedOne15-Nov-07 5:34 
GeneralRe: changing the cursor postion in a editable combobox??? Pin
Deepu Antony15-Nov-07 7:45
Deepu Antony15-Nov-07 7:45 
GeneralRe: changing the cursor postion in a editable combobox??? Pin
SnaKeBeD15-Nov-07 7:49
SnaKeBeD15-Nov-07 7:49 
QuestionRe: changing the cursor postion in a editable combobox??? Pin
David Crow15-Nov-07 8:42
David Crow15-Nov-07 8:42 
GeneralRe: changing the cursor postion in a editable combobox??? Pin
DoomedOne15-Nov-07 9:45
DoomedOne15-Nov-07 9:45 
GeneralRe: changing the cursor postion in a editable combobox??? Pin
chandu00415-Nov-07 21:05
chandu00415-Nov-07 21:05 
GeneralRe: changing the cursor postion in a editable combobox??? Pin
Nelek15-Nov-07 23:46
protectorNelek15-Nov-07 23:46 
GeneralRe: changing the cursor postion in a editable combobox??? Pin
chandu00416-Nov-07 20:55
chandu00416-Nov-07 20:55 
GeneralRe: changing the cursor postion in a editable combobox??? Pin
Nelek19-Nov-07 21:39
protectorNelek19-Nov-07 21:39 

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.