Problema

Usando la funzione sleep e facendo l'include di <iostream.h> (ma anche di <iostream>), il file non si compila e mi dice:

32:2 C:\Programmi\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. 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.

15 C:\...... `sleep' undeclared (first use this function)

Help