Afişează mesaje
Pagini: [1]
1  infoarena - concursuri, probleme, evaluator, articole / Grigore Moisil / eroare la compilare la GM : Martie 31, 2006, 06:39:29
Poate cineva sa imi explice ce inseamna urmatoarele? Testerul a zis ca este eroare la compilare.
Cod:
In file included from /usr/include/c++/3.3/backward/fstream.h:31,
                 from jtemp.cpp:1:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
jtemp.cpp:6: error: `main\' must return `int\'
jtemp.cpp:6: error: return type for `main\' changed to `int\'
jtemp.cpp: In function `int main(...)\':
jtemp.cpp:13: error: `endl\' undeclared (first use this function)
jtemp.cpp:13: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
jtemp.cpp:18:2: warning: no newline at end of file


Va multumesc anticipat!
Pagini: [1]
Powered by SMF 1.1.19 | SMF © 2006-2013, Simple Machines