Borderou de evaluare (job #672140)
Utilizator | Data | 1 februarie 2012 17:39:51 | |
---|---|---|---|
Problema | Ecuatii 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11: error: ‘char read [300]’ redeclared as different kind of symbol
/usr/include/bits/unistd.h:35: error: previous declaration of ‘ssize_t read(int, void*, size_t)’
user.cpp: In function ‘void citire()’:
user.cpp:25: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘ssize_t (*)(int, void*, size_t)’
user.cpp:28: error: no matching function for call to ‘strchr(ssize_t (&)(int, void*, size_t), char)’
/usr/include/string.h:220: note: candidates are: char* strchr(char*, int)
/usr/include/string.h:226: note: const char* strchr(const char*, int)
user.cpp:29: error: invalid operands of types ‘char*’ and ‘ssize_t(int, void*, size_t)’ to binary ‘operator-’
user.cpp:33: error: invalid conversion from ‘ssize_t (*)(int, void*, size_t)’ to ‘void*’
user.cpp:33: error: initializing argument 1 of ‘void* memset(void*, int, size_t)’
user.cpp:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘void getstanga()’:
user.cpp:60: warning: comparison between signed and unsigned integer expressions
user.cpp: In function ‘void getdreapta()’:
user.cpp:106: warning: comparison between signed and unsigned integer expressions
user.cpp: In function ‘int main()’:
user.cpp:161: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:162: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:163: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !