|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 490275
Mesaj evaluator:
replace.cpp: In function 'int main()':
replace.cpp:46: warning: name lookup of 'i' changed
replace.cpp:27: warning: matches this 'i' under ISO standard rules
replace.cpp:44: warning: matches this 'i' under old rules
replace.cpp:54: warning: comparison between signed and unsigned integer expressions
replace.cpp:56: warning: comparison between signed and unsigned integer expressions
replace.cpp:14: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
replace.cpp:15: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
replace.cpp:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
replace.cpp:20: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
replace.cpp:21: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
replace.cpp:26: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/ccq40mSk.o: In function `main':
replace.cpp:(.text+0x96): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |