Hi all i am new to C++ using xcode .... i add in new file helloword and it create .h and .cpp file ... bascially i type
#include <iostream.h>
#include "helloworld.h"
using namespace std;
int main ()
{
cout << "hello world!!!";
return 0;
}
but it gave me error message
#ifdef __DEPRECATED
#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.
#endif
can anyone tell me how to solve it thanks alot
#include <iostream.h>
#include "helloworld.h"
using namespace std;
int main ()
{
cout << "hello world!!!";
return 0;
}
but it gave me error message
#ifdef __DEPRECATED
#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.
#endif
can anyone tell me how to solve it thanks alot