Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cquizgame.c: In function ‘main’:
- cquizgame.c:34:6: error: too few arguments to function ‘toupper’
- choice=toupper();
- ^
- cquizgame.c:56:6: warning: ‘gets’ is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
- gets(playername);
- ^
- cquizgame.c: In function ‘show_record’:
- cquizgame.c:478:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[20]’ [-Wformat=]
- fscanf(f,"%s%f",&name,&scr);
- ^
- cquizgame.c: In function ‘reset_score’:
- cquizgame.c:491:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[20]’ [-Wformat=]
- fscanf(f,"%s%f",&nm,&sc);
- ^
- cquizgame.c: In function ‘edit_score’:
- cquizgame.c:522:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[20]’ [-Wformat=]
- fscanf(f,"%s%f",&nm,&sc);
- ^
Add Comment
Please, Sign In to add comment