Borderou de evaluare (job #1316978)
Utilizator | Data | 14 ianuarie 2015 13:44:15 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:12:33: error: ‘stdin’ was not declared in this scope
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:12:38: error: ‘fread’ was not declared in this scope
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:18:33: error: ‘stdin’ was not declared in this scope
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:18:38: error: ‘fread’ was not declared in this scope
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sate.in","r",stdin);
^
user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sate.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !