Click here to Skip to main content
15,924,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Regarding send and receive . Conversation problem. Pin
amit_pansuria5-May-08 4:26
amit_pansuria5-May-08 4:26 
GeneralRe: Regarding send and receive . Conversation problem. Pin
David Crow5-May-08 4:39
David Crow5-May-08 4:39 
QuestionHow to write to file from other program Pin
pl_kode4-May-08 22:40
pl_kode4-May-08 22:40 
AnswerRe: How to write to file from other program Pin
Rajesh R Subramanian4-May-08 22:43
professionalRajesh R Subramanian4-May-08 22:43 
GeneralRe: How to write to file from other program Pin
CPallini4-May-08 22:51
mveCPallini4-May-08 22:51 
GeneralRe: How to write to file from other program Pin
ThatsAlok4-May-08 23:49
ThatsAlok4-May-08 23:49 
AnswerRe: How to write to file from other program Pin
Nitheesh George4-May-08 23:12
Nitheesh George4-May-08 23:12 
AnswerRe: How to write to file from other program Pin
ThatsAlok4-May-08 23:47
ThatsAlok4-May-08 23:47 
pl_kode wrote:
ofstream myfile;
myfile.open (path.c_str(), fstream::app);


you could take help of singleton pattern, you could write all of your code writing data into the file in singleton class, then call teh object of singleton anywhere from program.

http://www.codeproject.com/KB/cpp/singletonrvs.aspx[^]

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixture


cheers,
Alok Gupta
VC Forum Q&A :- I/IV
Support CRY- Child Relief and You/codeProject$$>

QuestionHow to use OnTimer in modeless Dialog? Pin
hanlei00000000094-May-08 22:15
hanlei00000000094-May-08 22:15 
AnswerRe: How to use OnTimer in modeless Dialog? Pin
Cedric Moonen4-May-08 22:31
Cedric Moonen4-May-08 22:31 
AnswerRe: How to use OnTimer in modeless Dialog? Pin
Rajkumar R4-May-08 22:33
Rajkumar R4-May-08 22:33 
AnswerRe: How to use OnTimer in modeless Dialog? Pin
ThatsAlok4-May-08 23:48
ThatsAlok4-May-08 23:48 
QuestionSeparet two strings Pin
sharanu4-May-08 21:35
sharanu4-May-08 21:35 
AnswerRe: Separet two strings Pin
Rajkumar R4-May-08 21:48
Rajkumar R4-May-08 21:48 
AnswerRe: Separet two strings Pin
CPallini4-May-08 21:51
mveCPallini4-May-08 21:51 
GeneralRe: Separet two strings Pin
sharanu4-May-08 23:33
sharanu4-May-08 23:33 
GeneralRe: Separet two strings Pin
ThatsAlok4-May-08 23:50
ThatsAlok4-May-08 23:50 
GeneralRe: Separet two strings Pin
Rajkumar R4-May-08 23:53
Rajkumar R4-May-08 23:53 
GeneralRe: Separet two strings Pin
ThatsAlok5-May-08 2:34
ThatsAlok5-May-08 2:34 
GeneralRe: Separet two strings Pin
Rajkumar R5-May-08 3:04
Rajkumar R5-May-08 3:04 
GeneralRe: Separet two strings Pin
ThatsAlok5-May-08 3:46
ThatsAlok5-May-08 3:46 
GeneralRe: Separet two strings Pin
Rajkumar R5-May-08 3:59
Rajkumar R5-May-08 3:59 
GeneralRe: Separet two strings Pin
CPallini5-May-08 0:16
mveCPallini5-May-08 0:16 
GeneralRe: Separet two strings Pin
ThatsAlok5-May-08 3:20
ThatsAlok5-May-08 3:20 
GeneralRe: Separet two strings Pin
CPallini4-May-08 23:52
mveCPallini4-May-08 23:52 

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.