|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 562337
Mesaj evaluator:
cladiri.cpp: In function 'void read()':
cladiri.cpp:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cladiri.cpp:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result
cladiri.cpp: In function 'int main()':
cladiri.cpp:213: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
cladiri.cpp:214: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
In file included from /usr/include/stdio.h:910,
from cladiri.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'void read()' at cladiri.cpp:22:
/usr/include/bits/stdio2.h:253: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |