Click here to Skip to main content
15,889,096 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: strcmp Pin
David Crow26-Jul-06 5:13
David Crow26-Jul-06 5:13 
QuestionKeyboard shortcuts Pin
coddy5524-Jul-06 9:13
coddy5524-Jul-06 9:13 
AnswerRe: Keyboard shortcuts Pin
Justin Tay24-Jul-06 9:17
Justin Tay24-Jul-06 9:17 
QuestionOpening a console window from a Windows form project Pin
kialmur24-Jul-06 8:08
kialmur24-Jul-06 8:08 
AnswerRe: Opening a console window from a Windows form project Pin
David Crow24-Jul-06 8:15
David Crow24-Jul-06 8:15 
GeneralRe: Opening a console window from a Windows form project Pin
kialmur24-Jul-06 8:44
kialmur24-Jul-06 8:44 
GeneralRe: Opening a console window from a Windows form project Pin
Zac Howland24-Jul-06 8:53
Zac Howland24-Jul-06 8:53 
GeneralRe: Opening a console window from a Windows form project Pin
David Crow24-Jul-06 8:55
David Crow24-Jul-06 8:55 
kialmur wrote:
Is there no way that I can just open a console and use cout/cin?


Sure, if you are creating a simple console application. However, since you have a GUI application, the rules change.

kialmur wrote:
seems like quite a complex process just to write to a console.


So just wrap it all up into a nice little class, and whenever you want something to be displayed in a console window, instantiate your class, and invoke a few methods. You could even skip the class part, and just put it all in a function (or three). Just call the functions whenever you want something to be displayed in a console window.


"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

"Judge not by the eye but by the heart." - Native American Proverb


Questionmouse & keyboard disabling Pin
RomTibi24-Jul-06 8:06
RomTibi24-Jul-06 8:06 
AnswerRe: mouse & keyboard disabling Pin
Chris Losinger24-Jul-06 8:36
professionalChris Losinger24-Jul-06 8:36 
AnswerRe: mouse & keyboard disabling Pin
Steve Echols24-Jul-06 14:08
Steve Echols24-Jul-06 14:08 
GeneralRe: mouse & keyboard disabling Pin
RomTibi25-Jul-06 7:47
RomTibi25-Jul-06 7:47 
QuestionTile View problem when using Owner Data [modified] Pin
Justin Tay24-Jul-06 7:54
Justin Tay24-Jul-06 7:54 
QuestionPreTranslateMessage not called?? [modified] Pin
Rob Hounsell24-Jul-06 7:40
Rob Hounsell24-Jul-06 7:40 
QuestionPassing a variable Pin
DanYELL24-Jul-06 7:16
DanYELL24-Jul-06 7:16 
AnswerRe: Passing a variable [modified] Pin
Harold_Wishes24-Jul-06 7:24
Harold_Wishes24-Jul-06 7:24 
GeneralRe: Passing a variable Pin
DanYELL24-Jul-06 7:40
DanYELL24-Jul-06 7:40 
GeneralRe: Passing a variable Pin
DanYELL24-Jul-06 7:44
DanYELL24-Jul-06 7:44 
QuestionRe: Passing a variable Pin
David Crow24-Jul-06 8:05
David Crow24-Jul-06 8:05 
AnswerRe: Passing a variable Pin
prasad_som24-Jul-06 19:00
prasad_som24-Jul-06 19:00 
Questioncin issues [modified] Pin
Harold_Wishes24-Jul-06 6:52
Harold_Wishes24-Jul-06 6:52 
AnswerRe: cin issues Pin
David Crow24-Jul-06 6:54
David Crow24-Jul-06 6:54 
GeneralRe: cin issues [modified] Pin
Harold_Wishes24-Jul-06 7:07
Harold_Wishes24-Jul-06 7:07 
QuestionRe: cin issues Pin
David Crow24-Jul-06 7:52
David Crow24-Jul-06 7:52 
AnswerRe: cin issues Pin
Harold_Wishes24-Jul-06 8:08
Harold_Wishes24-Jul-06 8:08 

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.