Borderou de evaluare (job #743308)
Utilizator | Data | 3 mai 2012 21:41:11 | |
---|---|---|---|
Problema | Struti | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:15: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
user.cpp:20: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:105: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
user.cpp:10: error: in passing argument 1 of ‘void read(int&)’
user.cpp:99: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:100: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !