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

C / C++ / MFC

 
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 
AnswerRe: Console Input Saved To Text File !!!!!!! New To C++ Pin
Zac Howland14-Sep-06 3:57
Zac Howland14-Sep-06 3:57 
To use ofstream the way you specified:

char name[20] = {0};
ofstream fout;
fout.open("mylog.log", ios::app);	// create the file if it doesn't exist, append to it if it does
cin >> name;
fout << name;
// whatever else you want to do
fout.close();	// when you are done with it


If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

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 
QuestionRe: Change font of a control Pin
David Crow14-Sep-06 2:56
David Crow14-Sep-06 2:56 

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.