|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 606595
Mesaj evaluator:
minuni.cpp: In function 'void read()':
minuni.cpp:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
minuni.cpp:41: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result
minuni.cpp: In function 'int main()':
minuni.cpp:341: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
minuni.cpp:343: 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 minuni.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'void read()' at minuni.cpp:41:
/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 |