Click here to Skip to main content
15,900,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accessing CEdit Member Functions Inside CEditView ::MFC Pin
valikac10-Apr-02 17:50
valikac10-Apr-02 17:50 
GeneralRe: Accessing CEdit Member Functions Inside CEditView ::MFC Pin
Alex Cramer10-Apr-02 18:25
Alex Cramer10-Apr-02 18:25 
GeneralClasses in DLL Pin
10-Apr-02 16:44
suss10-Apr-02 16:44 
GeneralRe: Classes in DLL Pin
10-Apr-02 17:36
suss10-Apr-02 17:36 
GeneralRe: Classes in DLL Pin
Gunnar Bolle10-Apr-02 23:44
Gunnar Bolle10-Apr-02 23:44 
GeneralRe: Classes in DLL Pin
jan larsen11-Apr-02 2:17
jan larsen11-Apr-02 2:17 
GeneralRe: Classes in DLL Pin
Jack Hui11-Apr-02 5:30
Jack Hui11-Apr-02 5:30 
Generalheap, stack Pin
NicholasCougar10-Apr-02 16:25
NicholasCougar10-Apr-02 16:25 
Hi,
These two word always appear in my book, for example,
There is a class called CFn. And...
1> CFn fn; // this will create an object fn in stack
2> CFn* pFn=new CFn(); // this will create an object in heap

My problem is the advantages and disvantages of an object created in heap vs in stack. Plz explain them in detail.
Thank you in advance.


Best regard.

I confess that I am a stubborn guy, but why not put things thoroughly, logically and systematically clean. One concrete prolem is worth a thousand unapplied abstractions.
GeneralRe: heap, stack Pin
Paul M Watt10-Apr-02 16:35
mentorPaul M Watt10-Apr-02 16:35 
GeneralRe: heap, stack Pin
James R. Twine12-Apr-02 10:12
James R. Twine12-Apr-02 10:12 
GeneralRe: heap, stack Pin
Ravi Bhavnani12-Apr-02 10:49
professionalRavi Bhavnani12-Apr-02 10:49 
GeneralRe: heap, stack Pin
James R. Twine12-Apr-02 15:56
James R. Twine12-Apr-02 15:56 
GeneralFormatting rebars Pin
funbag10-Apr-02 16:16
funbag10-Apr-02 16:16 
GeneralRe: Formatting rebars Pin
wangyiming12-Apr-02 3:47
wangyiming12-Apr-02 3:47 
GeneralRe: Formatting rebars Pin
wangyiming12-Apr-02 3:50
wangyiming12-Apr-02 3:50 
Generalstatic in class Pin
NicholasCougar10-Apr-02 15:46
NicholasCougar10-Apr-02 15:46 
GeneralRe: static in class Pin
Christian Graus10-Apr-02 16:06
protectorChristian Graus10-Apr-02 16:06 
GeneralRe: static in class Pin
moliate10-Apr-02 20:44
moliate10-Apr-02 20:44 
GeneralRe: static in class Pin
James R. Twine12-Apr-02 10:17
James R. Twine12-Apr-02 10:17 
GeneralRe: static in class Pin
moliate12-Apr-02 12:52
moliate12-Apr-02 12:52 
GeneralRe: static in class Pin
James R. Twine12-Apr-02 20:15
James R. Twine12-Apr-02 20:15 
GeneralVisual Studio .net offer Pin
CodeProjectSQ10-Apr-02 14:10
CodeProjectSQ10-Apr-02 14:10 
GeneralRe: Visual Studio .net offer Pin
CodeProjectSQ12-Apr-02 16:06
CodeProjectSQ12-Apr-02 16:06 
GeneralTab Contol on a dialog box Pin
10-Apr-02 13:07
suss10-Apr-02 13:07 
GeneralRe: Tab Contol on a dialog box Pin
Shog910-Apr-02 13:30
sitebuilderShog910-Apr-02 13:30 

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.