Click here to Skip to main content
15,925,133 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: std , vector [modified] Pin
Cedric Moonen7-Aug-06 23:22
Cedric Moonen7-Aug-06 23:22 
AnswerRe: std , vector Pin
Hamid_RT8-Aug-06 1:16
Hamid_RT8-Aug-06 1:16 
Questiondelete graph Pin
thathvamsi7-Aug-06 22:51
thathvamsi7-Aug-06 22:51 
AnswerRe: delete graph Pin
Cedric Moonen7-Aug-06 22:53
Cedric Moonen7-Aug-06 22:53 
Questionhow to create function save Pin
krie7-Aug-06 22:24
krie7-Aug-06 22:24 
QuestionRe: how to create function save Pin
David Crow8-Aug-06 3:03
David Crow8-Aug-06 3:03 
Questionc++ constructors Pin
quantum177-Aug-06 22:05
quantum177-Aug-06 22:05 
AnswerRe: c++ constructors Pin
Cedric Moonen7-Aug-06 22:23
Cedric Moonen7-Aug-06 22:23 
quantum17 wrote:
From the class above when i call the constructor without an object of type A


Confused | :confused: How are you doing this ? If you mean doing this:

A Test = A();


Then this line actually creates an instance of the class.


quantum17 wrote:
const A & ref=A(); //without calling new A();


The same here.

It's not because you don't create your object dynamically (with new) that your constructor is not called. It's called in BOTH cases.


Cédric Moonen
Software developer

Charting control

AnswerRe: c++ constructors Pin
Michael Dunn8-Aug-06 12:19
sitebuilderMichael Dunn8-Aug-06 12:19 
Questionneed help on creating tiff file Pin
Kiran Pinjala7-Aug-06 21:48
Kiran Pinjala7-Aug-06 21:48 
AnswerRe: need help on creating tiff file Pin
kakan7-Aug-06 22:04
professionalkakan7-Aug-06 22:04 
GeneralRe: need help on creating tiff file Pin
Kiran Pinjala7-Aug-06 22:48
Kiran Pinjala7-Aug-06 22:48 
GeneralRe: need help on creating tiff file Pin
kakan7-Aug-06 22:57
professionalkakan7-Aug-06 22:57 
Questionclick and see function? Pin
NicolNghia7-Aug-06 21:30
NicolNghia7-Aug-06 21:30 
AnswerRe: click and see function? Pin
_AnsHUMAN_ 7-Aug-06 21:39
_AnsHUMAN_ 7-Aug-06 21:39 
AnswerRe: click and see function? Pin
Naveen7-Aug-06 21:50
Naveen7-Aug-06 21:50 
QuestionCListCtrl Pin
Bravoone_20067-Aug-06 20:54
Bravoone_20067-Aug-06 20:54 
AnswerRe: CListCtrl Pin
Hamid_RT7-Aug-06 21:17
Hamid_RT7-Aug-06 21:17 
QuestionRe: CListCtrl Pin
Bravoone_20067-Aug-06 21:23
Bravoone_20067-Aug-06 21:23 
AnswerRe: CListCtrl Pin
Hamid_RT7-Aug-06 21:35
Hamid_RT7-Aug-06 21:35 
GeneralRe: CListCtrl Pin
Bravoone_20067-Aug-06 22:01
Bravoone_20067-Aug-06 22:01 
GeneralRe: CListCtrl Pin
Hamid_RT7-Aug-06 22:38
Hamid_RT7-Aug-06 22:38 
GeneralRe: CListCtrl Pin
Bravoone_20068-Aug-06 0:00
Bravoone_20068-Aug-06 0:00 
QuestionRe: CListCtrl [modified] Pin
Bravoone_20068-Aug-06 1:29
Bravoone_20068-Aug-06 1:29 
QuestionRe: CListCtrl Pin
David Crow8-Aug-06 3:09
David Crow8-Aug-06 3:09 

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.