Borderou de evaluare (job #23369)

Utilizator avatar TheShadows Alex Cristian TheShadows IP ascuns
Problemă Url Compilator cpp
Rundă Baraj Șumen seniori 2013 - etapa 1 Status evaluat
Dată 10 oct. 2013 13:49:14 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void checkProtocol(char*)’: user.cpp:14:35: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:14:52: error: ‘strlwr’ was not declared in this scope user.cpp:18:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:22:35: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:26:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkUsrname(char*)’: user.cpp:64:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkPass(char*)’: user.cpp:90:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkHost(char*)’: user.cpp:146:22: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkPort(char*)’: user.cpp:170:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘int main()’: user.cpp:195:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1020]’ [-Wformat] user.cpp:200:56: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:201:55: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:202:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:203:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:204:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:205:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:192:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:195:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]