|
From: Eric E. <eri...@sb...> - 2006-02-11 05:50:56
|
Try this:
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout <<"Hello word" << endl;
system("PAUSE");
return 0;
}
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Titi =
Anggono
Sent: Friday, February 10, 2006 10:40 PM
To: dev...@li...
Subject: [Dev-C++] help with cout
Hi all,
I just tried dev-cpp 4.9.9.2 today and began with=20
----------------
#include <iostream.h>
#include <conio.h>
main()
{
cout <<"Hello word";
getch();
}
-----------------
the code wasn't compiled and I got following message "
#warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32
headers found in section 17.4.1.2 of the c++ standard.
..."
But, when I used stdio.h and replaced cout with printf
the code compiled and the result shown.=20
Can someone explaine why I couldn't use iostream
header ?
Thanks
Titi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log =
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D=
121642
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|