rakhisharma

Untitled

Apr 11th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. rakhi@rakhi-Inspiron-3542:~/CurlyMaths$ gcc -o cquizgame cquizgame.c
  2. cquizgame.c: In function ‘show_record’:
  3. cquizgame.c:479:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[20]’ [-Wformat=]
  4. fscanf(f,"%s%f",&name,&scr);
  5. ^
  6. cquizgame.c: In function ‘reset_score’:
  7. cquizgame.c:493:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[20]’ [-Wformat=]
  8. fscanf(f,"%s%f",&nm,&sc);
  9. ^
  10. cquizgame.c: In function ‘edit_score’:
  11. cquizgame.c:528:2: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[20]’ [-Wformat=]
  12. fscanf(f,"%s%f",&nm,&sc);
  13. ^
  14. /tmp/ccMoJsNi.o: In function `main':
  15. cquizgame.c:(.text+0x193): undefined reference to `get'
  16. collect2: error: ld returned 1 exit status
Add Comment
Please, Sign In to add comment