con il primo codicericevo questo errore...codice:#include <stdio.h> #include <iostream.h> #include <conio.h> int main() { int x=1; for(;;x++) { gotoxy(1,x); printf("F"); if(x==24) { x=0; for(;;x++) { gotoxy(1,x); scanf(""); } } } return 0; }
2 C:\programmi\Dev-Cpp\include\c++\3.4.2\backward\iostream.h:31, from C:\Documents and Settings\root\Desktop\Untitled1.cpp In file included from C:/programmi/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h:31, from C:\Documents and Settings\root\Desktop\Untitled1.cpp
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.
C:\Documents and Settings\root\Desktop\Untitled1.cpp In function `int main()':
10 C:\Documents and Settings\root\Desktop\Untitled1.cpp `gotoxy' undeclared (first use this function)

Rispondi quotando