I began to learn the C ++ language, downloaded the Dev-C ++ program for compiling and the book “Master C ++ in 21 days”. In the book, the code of the type of my first program is written, I rewrote it, by the way it is:
#include <iostream.h> int main() { cout << "Hello World!\n"; return 0; }
Further I compile, but the error is produced:
32: 2 F: \ Dev-Cpp \ include \ c ++ \ 3.4.2 \ backward \ backward_warning.h #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. C ++ for the header of the deprecated header. To disable this warning use -Wno-deprecated.
I click to execute, but to me in response: “the project is not compiled”.
Where is the source of the error? Maybe something is wrong with the code?