LionX
Membros-
Total de itens
2 -
Registro em
-
Última visita
Sobre LionX
LionX's Achievements
0
Reputação
-
Valeu cara testei aqui foi... Tem alguma 'manha' pra saber quais compiladores, aceitam quais tipos de comando? Ou só na experiencia mesmo?
-
Oi galera, sou novo no forúm e estou encontrando um problema em um programa básico //AloMundo.cpp //Um programa elementar. #include <iostream.h> int main() { cout << "Alo, Mundo!\n" ; return 0; }[/codebox] Até ai tudo bem, mas, ele da o seguinte erro: [codebox]3 C:\Dev-Cpp\include\c++\3.4.2\backward\iostream.h:31, from C:\C\Alomundo.cpp In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31, from C:\C\Alomundo.cpp 3 C:\C\Alomundo.cpp from C:\C\Alomundo.cpp 32:2 C:\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. Eu procurei e achei que '<iostream.h>' é um comando antigo e poderia usar '<iostream>'. Mas, da outro erro: C:\C\Alomundo.cpp In function `int main()': 6 C:\C\Alomundo.cpp `cout' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.) [/codebox] Eu até achei outras formas de fazer, mas o interessante era fazer 'dessa forma' só que eu queria saber como concertar o erro... Se poderem me ajudar eu agradeço