Click here to Skip to main content
15,913,152 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: could anyone tell me what's the error with this code? Pin
David Crow29-Jan-08 5:11
David Crow29-Jan-08 5:11 
AnswerRe: could anyone tell me what's the error with this code? Pin
Mr. Surprise29-Jan-08 8:14
Mr. Surprise29-Jan-08 8:14 
GeneralRe: could anyone tell me what's the error with this code? Pin
ashwiny29-Jan-08 15:40
ashwiny29-Jan-08 15:40 
GeneralCtreeView with Gradient BackGround Pin
sarat28-Jan-08 19:25
sarat28-Jan-08 19:25 
GeneralRe: CtreeView with Gradient BackGround Pin
sarat28-Jan-08 19:37
sarat28-Jan-08 19:37 
GeneralQuestion again about changing Icon for the EXE file icon Pin
Stan the man28-Jan-08 17:37
Stan the man28-Jan-08 17:37 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Steve Echols28-Jan-08 18:25
Steve Echols28-Jan-08 18:25 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas28-Jan-08 19:15
Nibu babu thomas28-Jan-08 19:15 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT1-Feb-08 20:20
Hamid_RT1-Feb-08 20:20 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas1-Feb-08 22:24
Nibu babu thomas1-Feb-08 22:24 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT2-Feb-08 2:10
Hamid_RT2-Feb-08 2:10 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas2-Feb-08 2:15
Nibu babu thomas2-Feb-08 2:15 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT2-Feb-08 2:44
Hamid_RT2-Feb-08 2:44 
GeneralRe: Question again about changing Icon for the EXE file icon Pin
Nibu babu thomas4-Feb-08 16:19
Nibu babu thomas4-Feb-08 16:19 
QuestionRe: Question again about changing Icon for the EXE file icon Pin
Hamid_RT28-Jan-08 19:20
Hamid_RT28-Jan-08 19:20 
GeneralCStatusBar problem Pin
hanlei000000000928-Jan-08 17:30
hanlei000000000928-Jan-08 17:30 
GeneralRe: CStatusBar problem Pin
Hamid_RT28-Jan-08 19:24
Hamid_RT28-Jan-08 19:24 
GeneralChoose between cURL and WinInet Pin
Sudhir Mangla28-Jan-08 17:27
professionalSudhir Mangla28-Jan-08 17:27 
GeneralRe: Choose between cURL and WinInet Pin
Hamid_RT28-Jan-08 19:32
Hamid_RT28-Jan-08 19:32 
GeneralRe: Choose between cURL and WinInet Pin
David Crow29-Jan-08 2:58
David Crow29-Jan-08 2:58 
GeneralRe: Choose between cURL and WinInet Pin
Sudhir Mangla29-Jan-08 4:23
professionalSudhir Mangla29-Jan-08 4:23 
Generalinteresting question about new and nothrow new Pin
George_George28-Jan-08 16:39
George_George28-Jan-08 16:39 
GeneralRe: interesting question about new and nothrow new Pin
Maxwell Chen28-Jan-08 16:51
Maxwell Chen28-Jan-08 16:51 
GeneralRe: interesting question about new and nothrow new Pin
George_George28-Jan-08 19:21
George_George28-Jan-08 19:21 
Thanks Maxwell,


I have read through the article, and I think if we only provide one version of new in current class, compiler will stop in current class searching for the other 2 forms of overloaded new even if current class does not provide it (they are defined in base class or global space).

The issue of providing only one form of new is, when other class uses the other two forms of new, since in current class, it is not implemented, there will be compile error.

My understanding correct?

BTW: from the article, I am not sure why it is a compile time error, it should be more like a runtime error?


regards,
George
GeneralRe: interesting question about new and nothrow new Pin
David Crow29-Jan-08 2:50
David Crow29-Jan-08 2:50 

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.