Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: atomic file write Pin
Rajasekharan Vengalil12-Jan-09 5:21
Rajasekharan Vengalil12-Jan-09 5:21 
GeneralRe: atomic file write Pin
Dave_12-Jan-09 7:21
Dave_12-Jan-09 7:21 
GeneralRe: atomic file write Pin
Rajasekharan Vengalil12-Jan-09 7:29
Rajasekharan Vengalil12-Jan-09 7:29 
GeneralRe: atomic file write Pin
Dave_12-Jan-09 7:31
Dave_12-Jan-09 7:31 
GeneralRe: atomic file write Pin
Rajasekharan Vengalil12-Jan-09 9:11
Rajasekharan Vengalil12-Jan-09 9:11 
QuestionAgain New / Delete [modified] Pin
ptr_Electron12-Jan-09 2:33
ptr_Electron12-Jan-09 2:33 
GeneralAgain confusing formatting. Pin
Iain Clarke, Warrior Programmer12-Jan-09 2:50
Iain Clarke, Warrior Programmer12-Jan-09 2:50 
AnswerRe: Again New / Delete Pin
Iain Clarke, Warrior Programmer12-Jan-09 2:53
Iain Clarke, Warrior Programmer12-Jan-09 2:53 
Giving a real answer...

We can have no idea when to delete the memory you just newed. You're showing a member function that makes a new object for you.

The answer to your question depends on the code that calls this function. We have no idea about that.

result is not defined, and not shown where it comes from either.

I know we're clever in this forum, but we're not gods. (OK, CPallini might be)

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

GeneralRe: Again New / Delete Pin
CPallini13-Jan-09 0:15
mveCPallini13-Jan-09 0:15 
AnswerRe: Again New / Delete Pin
Maximilien12-Jan-09 3:12
Maximilien12-Jan-09 3:12 
AnswerRe: Again New / Delete Pin
Cedric Moonen12-Jan-09 3:23
Cedric Moonen12-Jan-09 3:23 
AnswerRe: Again New / Delete Pin
Rajesh R Subramanian12-Jan-09 5:29
professionalRajesh R Subramanian12-Jan-09 5:29 
QuestionGet the machine name of the mapped drive C++ Pin
raesa12-Jan-09 2:17
raesa12-Jan-09 2:17 
QuestionRe: Get the machine name of the mapped drive C++ Pin
David Crow12-Jan-09 3:00
David Crow12-Jan-09 3:00 
Answeroops Pin
Iain Clarke, Warrior Programmer12-Jan-09 3:03
Iain Clarke, Warrior Programmer12-Jan-09 3:03 
AnswerRe: Get the machine name of the mapped drive C++ Pin
raesa12-Jan-09 17:52
raesa12-Jan-09 17:52 
AnswerRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 3:04
Iain Clarke, Warrior Programmer12-Jan-09 3:04 
Answer[Message Deleted] Pin
Hamid_RT12-Jan-09 3:26
Hamid_RT12-Jan-09 3:26 
GeneralRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 4:03
Iain Clarke, Warrior Programmer12-Jan-09 4:03 
GeneralRe: Get the machine name of the mapped drive C++ Pin
David Crow12-Jan-09 4:25
David Crow12-Jan-09 4:25 
GeneralRe: Get the machine name of the mapped drive C++ Pin
Hamid_RT12-Jan-09 5:12
Hamid_RT12-Jan-09 5:12 
JokeRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 5:23
Iain Clarke, Warrior Programmer12-Jan-09 5:23 
JokeRe: Get the machine name of the mapped drive C++ Pin
Rajesh R Subramanian12-Jan-09 5:31
professionalRajesh R Subramanian12-Jan-09 5:31 
GeneralRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 5:42
Iain Clarke, Warrior Programmer12-Jan-09 5:42 
QuestionFunction not getting overloaded... Pin
vikram.vit12-Jan-09 2:07
vikram.vit12-Jan-09 2:07 

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.