|
From: Mike M. <mc...@ms...> - 2001-12-06 15:30:51
|
You should just be able to write a simple hello world program to show
otuput....
Try this (start a new console C++ project, remove all the provided source
code) :
#include <stdio.h> // for your printf
#include <conio.h> // for system()
int main()
{
printf("Hello World\n");
system("pause"); // keeps the console open so you
// can see the results
return 0;
}
That would do it.
Later,
Mike
>From: J.S...@t-... (J.Schwarzbach)
>Reply-To: <320...@T-...>
>To: <dev...@li...>
>Subject: [Dev-C++] printf
>Date: 06 Dec 2001 14:17 GMT
>
>Till now, I worked only with DOS-Compilers. (only C, not C++)
>But with this compiler I cannot see output, when I use the
>printf-Statement.
>What options I have to set and what Statements are necassary, to see an
>output at the screen with printf?
>
>Thank You
>J.Schwarzbach
>
>
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|