Click here to Skip to main content
15,910,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string trim and toupper/tolower Pin
George_George4-Sep-08 22:47
George_George4-Sep-08 22:47 
AnswerRe: string trim and toupper/tolower Pin
Naveen4-Sep-08 20:10
Naveen4-Sep-08 20:10 
GeneralRe: string trim and toupper/tolower Pin
George_George4-Sep-08 20:11
George_George4-Sep-08 20:11 
AnswerRe: string trim and toupper/tolower Pin
Rajesh R Subramanian4-Sep-08 20:41
professionalRajesh R Subramanian4-Sep-08 20:41 
GeneralRe: string trim and toupper/tolower Pin
George_George4-Sep-08 21:39
George_George4-Sep-08 21:39 
QuestionClass initialization and memory allocation Pin
Christian Flutcher4-Sep-08 19:11
Christian Flutcher4-Sep-08 19:11 
AnswerRe: Class initialization and memory allocation [modified] Pin
_AnsHUMAN_ 4-Sep-08 19:27
_AnsHUMAN_ 4-Sep-08 19:27 
GeneralRe: Class initialization and memory allocation Pin
Christian Flutcher4-Sep-08 19:40
Christian Flutcher4-Sep-08 19:40 
Thanks Smile | :)

_AnShUmAn_ wrote:
Yes. The memory is allocated from heap in case you use new (ie *person), otherwise it is allocated from stack.


Well, so which one is the recommended practice? use pointer variables always and delete after usage or use the normal one which goes to stack?
GeneralRe: Class initialization and memory allocation Pin
Cedric Moonen4-Sep-08 19:57
Cedric Moonen4-Sep-08 19:57 
GeneralRe: Class initialization and memory allocation Pin
Christian Flutcher4-Sep-08 20:20
Christian Flutcher4-Sep-08 20:20 
GeneralRe: Class initialization and memory allocation Pin
Cedric Moonen4-Sep-08 20:27
Cedric Moonen4-Sep-08 20:27 
GeneralRe: Class initialization and memory allocation Pin
Christian Flutcher4-Sep-08 20:29
Christian Flutcher4-Sep-08 20:29 
GeneralRe: Class initialization and memory allocation Pin
_AnsHUMAN_ 4-Sep-08 19:58
_AnsHUMAN_ 4-Sep-08 19:58 
GeneralRe: Class initialization and memory allocation Pin
Rajesh R Subramanian4-Sep-08 20:16
professionalRajesh R Subramanian4-Sep-08 20:16 
GeneralRe: Class initialization and memory allocation Pin
_AnsHUMAN_ 4-Sep-08 20:29
_AnsHUMAN_ 4-Sep-08 20:29 
GeneralRe: Class initialization and memory allocation Pin
Naveen4-Sep-08 20:23
Naveen4-Sep-08 20:23 
GeneralRe: Class initialization and memory allocation Pin
Rajesh R Subramanian4-Sep-08 20:00
professionalRajesh R Subramanian4-Sep-08 20:00 
GeneralRe: Class initialization and memory allocation Pin
Christian Flutcher4-Sep-08 20:17
Christian Flutcher4-Sep-08 20:17 
GeneralRe: Class initialization and memory allocation Pin
Cedric Moonen4-Sep-08 20:25
Cedric Moonen4-Sep-08 20:25 
GeneralRe: Class initialization and memory allocation Pin
Rajesh R Subramanian4-Sep-08 20:25
professionalRajesh R Subramanian4-Sep-08 20:25 
GeneralRe: Class initialization and memory allocation Pin
Christian Flutcher4-Sep-08 20:31
Christian Flutcher4-Sep-08 20:31 
GeneralRe: Class initialization and memory allocation Pin
Rajesh R Subramanian4-Sep-08 20:42
professionalRajesh R Subramanian4-Sep-08 20:42 
AnswerRe: Class initialization and memory allocation Pin
santhoshv844-Sep-08 19:27
santhoshv844-Sep-08 19:27 
GeneralRe: Class initialization and memory allocation Pin
Christian Flutcher4-Sep-08 19:44
Christian Flutcher4-Sep-08 19:44 
Questionproblem with inno setup.... Pin
shaina22314-Sep-08 19:00
shaina22314-Sep-08 19:00 

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.