Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Key stroke watching Pin
Nibu babu thomas16-May-06 18:59
Nibu babu thomas16-May-06 18:59 
GeneralRe: Key stroke watching Pin
Nishad S16-May-06 19:06
Nishad S16-May-06 19:06 
GeneralRe: Key stroke watching Pin
Nibu babu thomas16-May-06 19:17
Nibu babu thomas16-May-06 19:17 
GeneralRe: Key stroke watching Pin
Nishad S16-May-06 19:21
Nishad S16-May-06 19:21 
QuestionCArray memory issue Pin
mohanrajh16-May-06 18:15
mohanrajh16-May-06 18:15 
AnswerRe: CArray memory issue Pin
Christian Graus16-May-06 18:24
protectorChristian Graus16-May-06 18:24 
GeneralRe: CArray memory issue Pin
NiceNaidu16-May-06 18:36
NiceNaidu16-May-06 18:36 
AnswerRe: CArray memory issue Pin
Laxman Auti16-May-06 18:29
Laxman Auti16-May-06 18:29 
HI Mohan,
function FreeExtra():

Frees any extra memory that was allocated while the array was grown. This function has no effect on the size or upper bound of the array

function SetSize():

Use this function to set the size of your array before you begin using the array. If you do not use SetSize, adding elements to your array causes it to be frequently reallocated and copied. Frequent reallocation and copying are inefficient and can fragment memory

...referenced from MSDN oct 2001

Knock out 'T' from CAN'T ,
You 'CAN' if you think you 'CAN'
Cool | :cool:
AnswerRe: CArray memory issue Pin
grigsoft16-May-06 19:08
grigsoft16-May-06 19:08 
QuestionRe: CArray memory issue Pin
mohanrajh17-May-06 15:08
mohanrajh17-May-06 15:08 
AnswerRe: CArray memory issue Pin
grigsoft17-May-06 20:55
grigsoft17-May-06 20:55 
Questionstring.. Pin
Prinz Ryoiji16-May-06 18:08
Prinz Ryoiji16-May-06 18:08 
QuestionRe: string.. Pin
Nibu babu thomas16-May-06 18:10
Nibu babu thomas16-May-06 18:10 
AnswerRe: string.. Pin
Prinz Ryoiji16-May-06 18:17
Prinz Ryoiji16-May-06 18:17 
GeneralRe: string.. Pin
Nibu babu thomas16-May-06 18:24
Nibu babu thomas16-May-06 18:24 
GeneralRe: string.. Pin
Prinz Ryoiji16-May-06 18:33
Prinz Ryoiji16-May-06 18:33 
GeneralRe: string.. Pin
Maxwell Chen16-May-06 18:35
Maxwell Chen16-May-06 18:35 
GeneralRe: string.. Pin
Prinz Ryoiji16-May-06 18:45
Prinz Ryoiji16-May-06 18:45 
JokeRe: string.. Pin
Nibu babu thomas16-May-06 18:57
Nibu babu thomas16-May-06 18:57 
GeneralRe: string.. Pin
Maxwell Chen16-May-06 19:47
Maxwell Chen16-May-06 19:47 
GeneralRe: string.. Pin
Nibu babu thomas16-May-06 19:50
Nibu babu thomas16-May-06 19:50 
GeneralRe: string.. Pin
Maxwell Chen16-May-06 20:23
Maxwell Chen16-May-06 20:23 
GeneralRe: string.. Pin
Nibu babu thomas16-May-06 20:24
Nibu babu thomas16-May-06 20:24 
GeneralRe: string.. Pin
Maxwell Chen16-May-06 20:34
Maxwell Chen16-May-06 20:34 
GeneralRe: string.. Pin
Nibu babu thomas16-May-06 20:38
Nibu babu thomas16-May-06 20:38 

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.