Borderou de evaluare (job #385088)
Utilizator | Data | 22 ianuarie 2010 08:03:09 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | lucrare_xi_d | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
from user.cpp:1:
/usr/include/c++/4.2/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 <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:28:2: warning: no newline at end of file
user.cpp:5: error: conflicting declaration 'std::ifstream f'
user.cpp:3: error: 'f' has a previous declaration as 'int f'
user.cpp: In function 'int main()':
user.cpp:12: error: two or more data types in declaration of 'num'
user.cpp:13: warning: statement has no effect
user.cpp:15: error: invalid operands of types 'int' and 'char [20]' to binary 'operator>>'
user.cpp: At global scope:
user.cpp:27: error: expected unqualified-id before 'return'
user.cpp:28: error: expected declaration before '}' token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !