windows environment
-
Hi, I use VC++2008, I show The result of my programs in Dos environment. I want to know how I can showing the executed (RESULT) of my program in C++ (Win32ConsoleApplecation) in the windows environment ? Thank you
thank you soso
Could you explain that a bit more?
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <
-
Hi, I use VC++2008, I show The result of my programs in Dos environment. I want to know how I can showing the executed (RESULT) of my program in C++ (Win32ConsoleApplecation) in the windows environment ? Thank you
thank you soso
Is your program console or GUI (EXE or DLL)?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
Hi, I use VC++2008, I show The result of my programs in Dos environment. I want to know how I can showing the executed (RESULT) of my program in C++ (Win32ConsoleApplecation) in the windows environment ? Thank you
thank you soso
"Windows Environment" means a document or a dialog box. You should start a new project and select "MFC AppWizard" for the type of project, name it whatever, tell it "Yes" "continue" "finish" etc. and then compile & run your project. The code that's generated is fairly easy to follow (has comments) so do your processing, then use AfxMessageBox() as a sort of printf(). You'll get the hang of it and be able to do more stuff in about a week.
-
Is your program console or GUI (EXE or DLL)?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
Then you can use
printf()
,fprintf(stdout, ...)
, orcout
to show the result(s) of your program."Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons