hi guys, i'm just starting out c++.
Now the problem is, no matter whatever program i write, i'm getting this warning.
#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. Examples include substituting the <X> header for the <X.h> \
header for C++ includes, or <iostream> instead of the deprecated header \
<iostream.h>. To disable this warning use -Wno-deprecated.
one demo code:
#include <iostream.h>
int main()
{
char *p = "hello world";
cout<<p;
return 0;
}
can anyone explain pls?
thanks
P.S: i use Code::Blocks