T
TuPLaD
Yesturday, when i was learning C++, i made the following:
=============
==main.cpp===
=============
#include <iostream.h>
int main ()
{
cout << "Hello World!";
return 0;
}
& when i compiled it was good, then i went to sleep.
Ok, next day - i wake up, first thing i do, is start the file &
compile right away (via cygwin).
It gives me a error ...
It gives me the following error::
$ g++ main.cpp -o main.exe
In file included from
/usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../../include/c++/
3.4.1/backward/iostream.h:31,
from main.cpp:1:
/usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../../include/c++/3.4.1/backward/backwar
d_warning.h:32:2: warning: #warning This file includes at least one
deprecated o
r antiquated header. Please consider using one of the 32 headers found
in sectio
n 17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for
the <X.h> header for C++ includes, or <iostream> instead of the
deprecated head
er <iostream.h>. To disable this warning use -Wno-deprecated.
I'm confused lol ...
i didnt edited anything
after i got that error, i updated cygwin, i updated Dev-C++ ....
still error :\
=============
==main.cpp===
=============
#include <iostream.h>
int main ()
{
cout << "Hello World!";
return 0;
}
& when i compiled it was good, then i went to sleep.
Ok, next day - i wake up, first thing i do, is start the file &
compile right away (via cygwin).
It gives me a error ...
It gives me the following error::
$ g++ main.cpp -o main.exe
In file included from
/usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../../include/c++/
3.4.1/backward/iostream.h:31,
from main.cpp:1:
/usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../../include/c++/3.4.1/backward/backwar
d_warning.h:32:2: warning: #warning This file includes at least one
deprecated o
r antiquated header. Please consider using one of the 32 headers found
in sectio
n 17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for
the <X.h> header for C++ includes, or <iostream> instead of the
deprecated head
er <iostream.h>. To disable this warning use -Wno-deprecated.
I'm confused lol ...
i didnt edited anything
after i got that error, i updated cygwin, i updated Dev-C++ ....
still error :\