|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 584927
Mesaj evaluator:
pepsi.cpp: In function 'int main()':
pepsi.cpp:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
pepsi.cpp:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
pepsi.cpp:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
pepsi.cpp:12: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
pepsi.cpp:13: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
pepsi.cpp:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
/tmp/ccE4JINJ.o: In function `main':
pepsi.cpp:(.text+0x7a): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |