|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 552936
Mesaj evaluator:
vot2.cpp: In function 'int main()':
vot2.cpp:12: warning: format '%c' expects type 'char*', but argument 2 has type 'int*'
vot2.cpp:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
vot2.cpp:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
vot2.cpp:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
vot2.cpp:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
vot2.cpp:15: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/ccVHwbWB.o: In function `main':
vot2.cpp:(.text+0xa0): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |