Click here to Skip to main content
15,891,730 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ifstream problem Pin
Michael Dunn14-Jan-07 14:21
sitebuilderMichael Dunn14-Jan-07 14:21 
GeneralRe: ifstream problem Pin
PJ Arends14-Jan-07 15:00
professionalPJ Arends14-Jan-07 15:00 
GeneralRe: ifstream problem Pin
Michael Dunn14-Jan-07 15:17
sitebuilderMichael Dunn14-Jan-07 15:17 
GeneralRe: ifstream problem Pin
CPallini15-Jan-07 9:15
mveCPallini15-Jan-07 9:15 
GeneralRe: ifstream problem Pin
CPallini15-Jan-07 9:14
mveCPallini15-Jan-07 9:14 
QuestionDo I need to delete? Pin
gumi_r@msn.com14-Jan-07 2:52
gumi_r@msn.com14-Jan-07 2:52 
AnswerRe: Do I need to delete? Pin
CPallini14-Jan-07 3:21
mveCPallini14-Jan-07 3:21 
GeneralRe: Do I need to delete? Pin
gumi_r@msn.com14-Jan-07 3:52
gumi_r@msn.com14-Jan-07 3:52 
Ok thanks. That makes sense as I'm already deleting any pointers I need to inside my copy constructor.

Next step would be the assignment operator. Say for example y have:

myClass &a=*new myClass(whatever);
myClass &b=*new myClass(whatever);

myClass &c=a+b;

do I have to delete &c?

thanks for any replies.
GeneralRe: Do I need to delete? Pin
CPallini14-Jan-07 5:48
mveCPallini14-Jan-07 5:48 
GeneralRe: Do I need to delete? Pin
Stephen Hewitt14-Jan-07 15:35
Stephen Hewitt14-Jan-07 15:35 
GeneralRe: Do I need to delete? Pin
CPallini15-Jan-07 9:22
mveCPallini15-Jan-07 9:22 
QuestionHow to give a File New command from inside a program Pin
IlanTal14-Jan-07 0:47
IlanTal14-Jan-07 0:47 
AnswerRe: How to give a File New command from inside a program Pin
#realJSOP14-Jan-07 1:06
mve#realJSOP14-Jan-07 1:06 
GeneralRe: How to give a File New command from inside a program Pin
IlanTal14-Jan-07 1:39
IlanTal14-Jan-07 1:39 
GeneralRe: How to give a File New command from inside a program Pin
#realJSOP14-Jan-07 2:18
mve#realJSOP14-Jan-07 2:18 
GeneralRe: How to give a File New command from inside a program Pin
IlanTal14-Jan-07 2:33
IlanTal14-Jan-07 2:33 
GeneralRe: How to give a File New command from inside a program Pin
#realJSOP14-Jan-07 2:53
mve#realJSOP14-Jan-07 2:53 
GeneralRe: How to give a File New command from inside a program Pin
IlanTal14-Jan-07 3:11
IlanTal14-Jan-07 3:11 
GeneralRe: How to give a File New command from inside a program Pin
#realJSOP14-Jan-07 4:11
mve#realJSOP14-Jan-07 4:11 
GeneralRe: How to give a File New command from inside a program Pin
IlanTal14-Jan-07 4:45
IlanTal14-Jan-07 4:45 
GeneralRe: How to give a File New command from inside a program Pin
PJ Arends14-Jan-07 7:16
professionalPJ Arends14-Jan-07 7:16 
QuestionCArray Compaliation Error C2143: syntax error : missing ';' before '<' Pin
sdancer7513-Jan-07 23:34
sdancer7513-Jan-07 23:34 
AnswerRe: CArray Compaliation Error C2143: syntax error : missing ';' before '&lt;' [modified] Pin
#realJSOP13-Jan-07 23:46
mve#realJSOP13-Jan-07 23:46 
GeneralRe: CArray Compaliation Error C2143: syntax error : missing ';' before '&lt;' Pin
sdancer7514-Jan-07 6:28
sdancer7514-Jan-07 6:28 
AnswerRe: CArray Compaliation Error C2143: syntax error : missing ';' before '<' Pin
Cedric Moonen13-Jan-07 23:51
Cedric Moonen13-Jan-07 23:51 

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.