Record Detail

Compile Error

/in/terminal.c: In function 'help':
/in/terminal.c:26:12: warning: missing terminating " character
            "LOAD filename\tLoad the game status from the specified file, e.g. LOAD sample.txt If the filename does not
            ^
/in/terminal.c:26:12: error: missing terminating " character
            "LOAD filename\tLoad the game status from the specified file, e.g. LOAD sample.txt If the filename does not
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/terminal.c:27:12: error: expected ')' before 'exist'
            exist, sample.txt will be loaded by default\n"
            ^~~~~
/in/terminal.c:27:55: error: stray '\' in program
            exist, sample.txt will be loaded by default\n"
                                                       ^
/in/terminal.c:27:57: warning: missing terminating " character
            exist, sample.txt will be loaded by default\n"
                                                         ^
/in/terminal.c:27:57: error: missing terminating " character
/in/terminal.c:29:12: warning: missing terminating " character
            "SAVE filename\tSave the game status to the specified file, e.g. SAVE sample.txt If the filename does not 
            ^
/in/terminal.c:29:12: error: missing terminating " character
            "SAVE filename\tSave the game status to the specified file, e.g. SAVE sample.txt If the filename does not 
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/terminal.c:30:51: error: stray '\' in program
            exist, it will be automatically created\n");
                                                   ^
/in/terminal.c:30:53: warning: missing terminating " character
            exist, it will be automatically created\n");
                                                     ^
/in/terminal.c:30:53: error: missing terminating " character
            exist, it will be automatically created\n");
                                                     ^~~
/in/terminal.c:31:1: error: expected ';' before '}' token
 }
 ^
/in/terminal.c: In function 'version':
/in/terminal.c:38:12: warning: missing terminating " character
     printf("
            ^
/in/terminal.c:38:12: error: missing terminating " character
/in/terminal.c:39:9: error: stray '@' in program
     user@ubuntu:~$ ./reversi -v
         ^
/in/terminal.c:39:5: error: 'user' undeclared (first use in this function)
     user@ubuntu:~$ ./reversi -v
     ^~~~
/in/terminal.c:39:5: note: each undeclared identifier is reported only once for each function it appears in
/in/terminal.c:39:10: error: expected ')' before 'ubuntu'
     user@ubuntu:~$ ./reversi -v
          ^~~~~~
/in/terminal.c:40:21: error: too many decimal points in number
     Reversi version 0.0.1
                     ^~~~~
/in/terminal.c:41:5: warning: missing terminating " character
     ")
     ^
/in/terminal.c:41:5: error: missing terminating " character
     ")
     ^~
/in/terminal.c:42:1: error: expected ';' before '}' token
 }
 ^

Information

Submit By
Type
Submission
Homework
Lab10 Thu
Language
C
Submit At
2024-07-27 22:40:43
Judged At
2024-07-27 22:40:43
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes