Click here to Skip to main content
16,015,003 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: format %4d Pin
pnpfriend31-May-02 9:04
pnpfriend31-May-02 9:04 
GeneralRe: format %4d Pin
lucy31-May-02 9:10
lucy31-May-02 9:10 
GeneralRe: format %4d Pin
achandra00731-May-02 9:40
achandra00731-May-02 9:40 
GeneralRe: format %4d Pin
pnpfriend1-Jun-02 7:48
pnpfriend1-Jun-02 7:48 
QuestionConverting my C++ program into GUI? Pin
Chson31-May-02 5:52
Chson31-May-02 5:52 
AnswerRe: Converting my C++ program into GUI? Pin
l a u r e n31-May-02 7:45
l a u r e n31-May-02 7:45 
GeneralRe: Converting my C++ program into GUI? Pin
Chson31-May-02 8:51
Chson31-May-02 8:51 
AnswerRe: Converting my C++ program into GUI? Pin
Paul M Watt31-May-02 7:48
mentorPaul M Watt31-May-02 7:48 
I think your main problem is that cout writes to stdout, and there is no stdout in windows. THere are ways to redirect the stdout to a window, you may want to search for that here on CP.

Also, the paradigms between a GUI and a console app are different, therefore you may have to restructure how you want your program to look in a dialog. Maybe it would make more sense to have different fields that are filled with data, rather than having one large text display.

Other than that you should have no problem porting the logic between the two programs.

Good Luck


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Converting my C++ program into GUI? Pin
Chson31-May-02 8:50
Chson31-May-02 8:50 
GeneralRe: Converting my C++ program into GUI? Pin
Ravi Bhavnani31-May-02 8:57
professionalRavi Bhavnani31-May-02 8:57 
GeneralRe: Converting my C++ program into GUI? Pin
Chson31-May-02 9:58
Chson31-May-02 9:58 
GeneralRe: Converting my C++ program into GUI? Pin
Alexandru Savescu31-May-02 12:47
Alexandru Savescu31-May-02 12:47 
GeneralCTreeCtrl question Pin
Stew31-May-02 4:54
Stew31-May-02 4:54 
GeneralRe: CTreeCtrl question Pin
Tomasz Sowinski31-May-02 5:12
Tomasz Sowinski31-May-02 5:12 
GeneralQuickie: CListCtrl message Pin
31-May-02 4:45
suss31-May-02 4:45 
GeneralRe: Quickie: CListCtrl message Pin
Tomasz Sowinski31-May-02 5:14
Tomasz Sowinski31-May-02 5:14 
GeneralRe: Quickie: CListCtrl message Pin
31-May-02 5:37
suss31-May-02 5:37 
GeneralRe: Quickie: CListCtrl message Pin
Michael Dunn31-May-02 11:48
sitebuilderMichael Dunn31-May-02 11:48 
GeneralMS Installer 2.0 needs .NET framework?!?! Pin
paulccc31-May-02 3:50
paulccc31-May-02 3:50 
GeneralRe: MS Installer 2.0 needs .NET framework?!?! Pin
Nish Nishant31-May-02 4:21
sitebuilderNish Nishant31-May-02 4:21 
GeneralRe: MS Installer 2.0 needs .NET framework?!?! Pin
paulccc31-May-02 4:24
paulccc31-May-02 4:24 
GeneralRe: MS Installer 2.0 needs .NET framework?!?! Pin
Nish Nishant31-May-02 4:38
sitebuilderNish Nishant31-May-02 4:38 
Questiondelphi VS vc++,which one? Pin
tiaozi31-May-02 3:25
tiaozi31-May-02 3:25 
AnswerRe: delphi VS vc++,which one? Pin
Michael P Butler31-May-02 3:30
Michael P Butler31-May-02 3:30 
AnswerRe: delphi VS vc++,which one? Pin
señor codeman31-May-02 3:53
señor codeman31-May-02 3:53 

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.