Click here to Skip to main content
15,928,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Construcor trouble Pin
Maximilien22-Mar-04 5:39
Maximilien22-Mar-04 5:39 
GeneralRe: Construcor trouble Pin
Alvaro Mendez22-Mar-04 5:50
Alvaro Mendez22-Mar-04 5:50 
GeneralRe: Construcor trouble Pin
MyttO22-Mar-04 5:53
MyttO22-Mar-04 5:53 
GeneralRe: Construcor trouble Pin
Curi0us_George22-Mar-04 6:22
Curi0us_George22-Mar-04 6:22 
GeneralRe: Construcor trouble Pin
MyttO22-Mar-04 6:25
MyttO22-Mar-04 6:25 
GeneralRe: Construcor trouble Pin
Curi0us_George22-Mar-04 6:29
Curi0us_George22-Mar-04 6:29 
GeneralRe: Construcor trouble Pin
MyttO22-Mar-04 21:06
MyttO22-Mar-04 21:06 
GeneralRe: Construcor trouble Pin
Michael Dunn22-Mar-04 6:55
sitebuilderMichael Dunn22-Mar-04 6:55 
real_space_monkey wrote:
CClass(int x){//Second constuctor
CClass();//Invoke First construcotr


But this code not initialize i member!!! Why ???

Because writing CClass(); in a function body does not invoke the first constructor. CClass() means "create a temporary CClass object using the default constructor." As others have said, that code has no effect on the this object.

--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
"Linux is good. It can do no wrong. It is open source so must be right. It has penguins. I want to eat your brain."
  -- Paul Watson, Linux Zombie

GeneralRe: Construcor trouble Pin
El'Cachubrey22-Mar-04 20:32
El'Cachubrey22-Mar-04 20:32 
GeneralSQLserver 2000 / MFC question Pin
Tom Wright22-Mar-04 5:02
Tom Wright22-Mar-04 5:02 
GeneralRe: SQLserver 2000 / MFC question Pin
MyttO22-Mar-04 5:46
MyttO22-Mar-04 5:46 
GeneralWrite file properties Pin
MyttO22-Mar-04 4:14
MyttO22-Mar-04 4:14 
GeneralRe: Write file properties Pin
Ravi Bhavnani22-Mar-04 4:43
professionalRavi Bhavnani22-Mar-04 4:43 
GeneralRe: Write file properties Pin
MyttO22-Mar-04 5:41
MyttO22-Mar-04 5:41 
GeneralRe: Write file properties Pin
Alvaro Mendez22-Mar-04 5:52
Alvaro Mendez22-Mar-04 5:52 
GeneralRe: Write file properties Pin
MyttO22-Mar-04 5:58
MyttO22-Mar-04 5:58 
GeneralRe: Write file properties Pin
Alvaro Mendez22-Mar-04 6:12
Alvaro Mendez22-Mar-04 6:12 
GeneralRe: Write file properties Pin
MyttO22-Mar-04 6:27
MyttO22-Mar-04 6:27 
GeneralRe: Write file properties Pin
Alvaro Mendez22-Mar-04 8:52
Alvaro Mendez22-Mar-04 8:52 
GeneralRe: Write file properties Pin
MyttO23-Mar-04 6:15
MyttO23-Mar-04 6:15 
GeneralRe: Write file properties Pin
David Crow22-Mar-04 7:18
David Crow22-Mar-04 7:18 
QuestionPossible to kill MessageBox? Pin
J.B.22-Mar-04 4:00
J.B.22-Mar-04 4:00 
AnswerRe: Possible to kill MessageBox? Pin
Ravi Bhavnani22-Mar-04 4:42
professionalRavi Bhavnani22-Mar-04 4:42 
AnswerRe: Possible to kill MessageBox? Pin
Alvaro Mendez22-Mar-04 5:54
Alvaro Mendez22-Mar-04 5:54 
AnswerRe: Possible to kill MessageBox? Pin
casid22-Mar-04 5:54
casid22-Mar-04 5:54 

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.