Click here to Skip to main content
15,900,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic funtion calls from DLLs Pin
DanielRehn14-Sep-06 21:44
DanielRehn14-Sep-06 21:44 
Questionsubclassing Pin
Waldermort14-Sep-06 4:41
Waldermort14-Sep-06 4:41 
AnswerRe: subclassing Pin
Cedric Moonen14-Sep-06 4:46
Cedric Moonen14-Sep-06 4:46 
GeneralRe: subclassing Pin
Waldermort14-Sep-06 5:30
Waldermort14-Sep-06 5:30 
AnswerRe: subclassing Pin
Jun Du14-Sep-06 6:14
Jun Du14-Sep-06 6:14 
AnswerRe: subclassing Pin
ThatsAlok14-Sep-06 21:18
ThatsAlok14-Sep-06 21:18 
AnswerRe: subclassing Pin
ThatsAlok14-Sep-06 21:34
ThatsAlok14-Sep-06 21:34 
QuestionConsole Input Saved To Text File !!!!!!! New To C++ Pin
Mark_Murphy14-Sep-06 3:42
Mark_Murphy14-Sep-06 3:42 
Hi

Can anyone give me any guide lines as web searches have been unsucessful

I want to be able to save input from a console application to a text file.

eg: if a user inputs their "name" via cin on the console, how do you save the name to a text file.

I have just started learning if/ofstream classes and have a basic understanding, so if you could show me some examples of the code to save the input to a text file I would be grateful. Also I wish to append new data to the same file so if you could also advise me if the use of "ios::app" is the correct way of doing this without over writing old data.

Thanks in advance.

The problem with political jokes is they get elected.

AnswerRe: Console Input Saved To Text File !!!!!!! New To C++ Pin
Zac Howland14-Sep-06 3:57
Zac Howland14-Sep-06 3:57 
GeneralRe: Console Input Saved To Text File !!!!!!! New To C++ Pin
Mark_Murphy14-Sep-06 4:10
Mark_Murphy14-Sep-06 4:10 
QuestionSmart Card Driver Version Pin
irit14-Sep-06 3:33
irit14-Sep-06 3:33 
QuestionHow to execute simple c++ file by microsoft visual studio 6 Pin
alpa shah14-Sep-06 3:12
alpa shah14-Sep-06 3:12 
QuestionRe: How to execute simple c++ file by microsoft visual studio 6 Pin
prasad_som14-Sep-06 3:19
prasad_som14-Sep-06 3:19 
AnswerRe: How to execute simple c++ file by microsoft visual studio 6 Pin
alpa shah14-Sep-06 3:23
alpa shah14-Sep-06 3:23 
AnswerRe: How to execute simple c++ file by microsoft visual studio 6 Pin
alpa shah14-Sep-06 3:27
alpa shah14-Sep-06 3:27 
GeneralRe: How to execute simple c++ file by microsoft visual studio 6 [modified] Pin
prasad_som14-Sep-06 3:41
prasad_som14-Sep-06 3:41 
AnswerRe: How to execute simple c++ file by microsoft visual studio 6 Pin
toxcct14-Sep-06 3:21
toxcct14-Sep-06 3:21 
AnswerRe: How to execute simple c++ file by microsoft visual studio 6 Pin
Mr.Brainley14-Sep-06 3:25
Mr.Brainley14-Sep-06 3:25 
GeneralRe: How to execute simple c++ file by microsoft visual studio 6 Pin
alpa shah14-Sep-06 3:29
alpa shah14-Sep-06 3:29 
GeneralRe: How to execute simple c++ file by microsoft visual studio 6 Pin
alpa shah14-Sep-06 3:32
alpa shah14-Sep-06 3:32 
GeneralRe: How to execute simple c++ file by microsoft visual studio 6 Pin
toxcct14-Sep-06 4:03
toxcct14-Sep-06 4:03 
AnswerRe: How to execute simple c++ file by microsoft visual studio 6 Pin
Hamid_RT15-Sep-06 7:07
Hamid_RT15-Sep-06 7:07 
QuestionHow to make the XP style menu useing "GuiToolkit MFC Extension" library? Pin
gomez_a14-Sep-06 2:55
gomez_a14-Sep-06 2:55 
AnswerRe: How to make the XP style menu useing "GuiToolkit MFC Extension" library? Pin
gomez_a14-Sep-06 2:57
gomez_a14-Sep-06 2:57 
QuestionChange font of a control Pin
Mohammad A Gdeisat14-Sep-06 2:45
Mohammad A Gdeisat14-Sep-06 2:45 

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.