Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help ................Please Pin
Cedric Moonen24-Jun-07 21:17
Cedric Moonen24-Jun-07 21:17 
GeneralRe: Help ................Please Pin
Y_Kaushik24-Jun-07 21:19
Y_Kaushik24-Jun-07 21:19 
QuestionHelp ................Please Pin
Y_Kaushik24-Jun-07 21:06
Y_Kaushik24-Jun-07 21:06 
AnswerRe: Help ................Please Pin
CPallini25-Jun-07 1:36
mveCPallini25-Jun-07 1:36 
Questionclass problem Pin
hanlei000000000924-Jun-07 21:03
hanlei000000000924-Jun-07 21:03 
AnswerRe: class problem Pin
CPallini24-Jun-07 21:13
mveCPallini24-Jun-07 21:13 
AnswerI got it Pin
hanlei000000000924-Jun-07 21:22
hanlei000000000924-Jun-07 21:22 
AnswerRe: I got it Pin
Rajkumar R24-Jun-07 22:56
Rajkumar R24-Jun-07 22:56 
Sorry you didn't got it.
Hi,
This is because you have enabled RUN TIME check for uninitialised variables /RTCu.
In your code just put the following
int i;
int j = i;

You will get the same runtime error as before as you used variable "i" uninitialised.
Or disable RTC in your project setting.

Default copy constructor means by default it has it. You write a simple constructor (not copy contructor) you won't get this error.

Ultimately this error is caused because of the uninitialised member of class A and you have enabled RTC.

Best Regards
Raj
GeneralI see. Thank you Pin
hanlei000000000925-Jun-07 14:43
hanlei000000000925-Jun-07 14:43 
QuestionVC++ Interface Pin
bijumon Mathew24-Jun-07 21:02
bijumon Mathew24-Jun-07 21:02 
AnswerRe: VC++ Interface Pin
HakunaMatada24-Jun-07 21:15
HakunaMatada24-Jun-07 21:15 
Questionhow copy the contant of buffer in to file Pin
Y_Kaushik24-Jun-07 20:56
Y_Kaushik24-Jun-07 20:56 
AnswerRe: how copy the contant of buffer in to file Pin
Hamid_RT24-Jun-07 20:59
Hamid_RT24-Jun-07 20:59 
GeneralRe: how copy the contant of buffer in to file Pin
Y_Kaushik24-Jun-07 21:32
Y_Kaushik24-Jun-07 21:32 
GeneralRe: how copy the contant of buffer in to file Pin
Hamid_RT24-Jun-07 21:48
Hamid_RT24-Jun-07 21:48 
GeneralRe: how copy the contant of buffer in to file Pin
Y_Kaushik24-Jun-07 23:08
Y_Kaushik24-Jun-07 23:08 
GeneralRe: how copy the contant of buffer in to file Pin
Hamid_RT25-Jun-07 0:38
Hamid_RT25-Jun-07 0:38 
GeneralRe: how copy the contant of buffer in to file Pin
Y_Kaushik25-Jun-07 0:51
Y_Kaushik25-Jun-07 0:51 
GeneralRe: how copy the contant of buffer in to file Pin
Hamid_RT25-Jun-07 0:59
Hamid_RT25-Jun-07 0:59 
GeneralRe: how copy the contant of buffer in to file Pin
Y_Kaushik25-Jun-07 1:02
Y_Kaushik25-Jun-07 1:02 
GeneralRe: how copy the contant of buffer in to file Pin
Hamid_RT25-Jun-07 5:23
Hamid_RT25-Jun-07 5:23 
QuestionRe: how copy the contant of buffer in to file Pin
Mark Salsbery25-Jun-07 7:59
Mark Salsbery25-Jun-07 7:59 
QuestionFacing problem, in running the .exe on other computers Pin
ramana.g24-Jun-07 20:52
ramana.g24-Jun-07 20:52 
AnswerRe: Facing problem, in running the .exe on other computers Pin
Hamid_RT24-Jun-07 20:57
Hamid_RT24-Jun-07 20:57 
GeneralRe: Facing problem, in running the .exe on other computers Pin
ramana.g24-Jun-07 21:06
ramana.g24-Jun-07 21:06 

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.