Record Detail

Compile Error

/in/ex3.c:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>
         ^
/in/ex3.c:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdlib.h>
         ^
/in/ex3.c:5:5: error: stray '\302' in program
 void generate_random_walk(char [][10]);
     ^
/in/ex3.c:5:6: error: stray '\240' in program
 void generate_random_walk(char [][10]);
      ^
/in/ex3.c:5:32: error: stray '\302' in program
 void generate_random_walk(char [][10]);
                                ^
/in/ex3.c:5:33: error: stray '\240' in program
 void generate_random_walk(char [][10]);
                                 ^
/in/ex3.c:6:5: error: stray '\302' in program
 void print_array(char [][10]);
     ^
/in/ex3.c:6:6: error: stray '\240' in program
 void print_array(char [][10]);
      ^
/in/ex3.c:6:23: error: stray '\302' in program
 void print_array(char [][10]);
                       ^
/in/ex3.c:6:24: error: stray '\240' in program
 void print_array(char [][10]);
                        ^
/in/ex3.c:7:4: error: stray '\302' in program
 int main(int argc, char *argv[])
    ^
/in/ex3.c:7:5: error: stray '\240' in program
 int main(int argc, char *argv[])
     ^
/in/ex3.c:7:14: error: stray '\302' in program
 int main(int argc, char *argv[])
              ^
/in/ex3.c:7:15: error: stray '\240' in program
 int main(int argc, char *argv[])
               ^
/in/ex3.c:7:21: error: stray '\302' in program
 int main(int argc, char *argv[])
                     ^
/in/ex3.c:7:22: error: stray '\240' in program
 int main(int argc, char *argv[])
                      ^
/in/ex3.c:7:27: error: stray '\302' in program
 int main(int argc, char *argv[])
                           ^
/in/ex3.c:7:28: error: stray '\240' in program
 int main(int argc, char *argv[])
                            ^
/in/ex3.c: In function 'main':
/in/ex3.c:9:1: error: stray '\302' in program
    char step[10][10];
 ^
/in/ex3.c:9:2: error: stray '\240' in program
    char step[10][10];
  ^
/in/ex3.c:9:3: error: stray '\302' in program
    char step[10][10];
   ^
/in/ex3.c:9:4: error: stray '\240' in program
    char step[10][10];
    ^
/in/ex3.c:9:5: error: stray '\302' in program
    char step[10][10];
     ^
/in/ex3.c:9:6: error: stray '\240' in program
    char step[10][10];
      ^
/in/ex3.c:9:11: error: stray '\302' in program
    char step[10][10];
           ^
/in/ex3.c:9:12: error: stray '\240' in program
    char step[10][10];
            ^
/in/ex3.c:10:1: error: stray '\302' in program
    generate_random_walk(step);
 ^
/in/ex3.c:10:2: error: stray '\240' in program
    generate_random_walk(step);
  ^
/in/ex3.c:10:3: error: stray '\302' in program
    generate_random_walk(step);
   ^
/in/ex3.c:10:4: error: stray '\240' in program
    generate_random_walk(step);
    ^
/in/ex3.c:10:5: error: stray '\302' in program
    generate_random_walk(step);
     ^
/in/ex3.c:10:6: error: stray '\240' in program
    generate_random_walk(step);
      ^
/in/ex3.c:11:1: error: stray '\302' in program
    print_array(step);
 ^
/in/ex3.c:11:2: error: stray '\240' in program
    print_array(step);
  ^
/in/ex3.c:11:3: error: stray '\302' in program
    print_array(step);
   ^
/in/ex3.c:11:4: error: stray '\240' in program
    print_array(step);
    ^
/in/ex3.c:11:5: error: stray '\302' in program
    print_array(step);
     ^
/in/ex3.c:11:6: error: stray '\240' in program
    print_array(step);
      ^
/in/ex3.c:12:1: error: stray '\302' in program
    return 0;
 ^
/in/ex3.c:12:2: error: stray '\240' in program
    return 0;
  ^
/in/ex3.c:12:3: error: stray '\302' in program
    return 0;
   ^
/in/ex3.c:12:4: error: stray '\240' in program
    return 0;
    ^
/in/ex3.c:12:5: error: stray '\302' in program
    return 0;
     ^
/in/ex3.c:12:6: error: stray '\240' in program
    return 0;
      ^
/in/ex3.c:12:13: error: stray '\302' in program
    return 0;
             ^
/in/ex3.c:12:14: error: stray '\240' in program
    return 0;
              ^
/in/ex3.c:7:16: error: unused parameter 'argc' [-Werror=unused-parameter]
 int main(int argc, char *argv[])
                ^~~~
/in/ex3.c:7:30: error: unused parameter 'argv' [-Werror=unused-parameter]
 int main(int argc, char *argv[])
                              ^~~~
/in/ex3.c: At top level:
/in/ex3.c:14:5: error: stray '\302' in program
 void generate_random_walk(char step[10][10])
     ^
/in/ex3.c:14:6: error: stray '\240' in program
 void generate_random_walk(char step[10][10])
      ^
/in/ex3.c: In function 'generate_random_walk':
/in/ex3.c:16:17: error: stray '\302' in program
                    int come,i,j;
                 ^
/in/ex3.c:16:18: error: stray '\240' in program
                    int come,i,j;
                  ^
/in/ex3.c:16:19: error: stray '\302' in program
                    int come,i,j;
                   ^
/in/ex3.c:16:20: error: stray '\240' in program
                    int come,i,j;
                    ^
/in/ex3.c:16:21: error: stray '\302' in program
                    int come,i,j;
                     ^
/in/ex3.c:16:22: error: stray '\240' in program
                    int come,i,j;
                      ^
/in/ex3.c:16:26: error: stray '\302' in program
                    int come,i,j;
                          ^
/in/ex3.c:16:27: error: stray '\240' in program
                    int come,i,j;
                           ^
/in/ex3.c:17:17: error: stray '\302' in program
                    char ch;
                 ^
/in/ex3.c:17:18: error: stray '\240' in program
                    char ch;
                  ^
/in/ex3.c:17:19: error: stray '\302' in program
                    char ch;
                   ^
/in/ex3.c:17:20: error: stray '\240' in program
                    char ch;
                    ^
/in/ex3.c:17:21: error: stray '\302' in program
                    char ch;
                     ^
/in/ex3.c:17:22: error: stray '\240' in program
                    char ch;
                      ^
/in/ex3.c:17:27: error: stray '\302' in program
                    char ch;
                           ^
/in/ex3.c:17:28: error: stray '\240' in program
                    char ch;
                            ^
/in/ex3.c:18:17: error: stray '\302' in program
                    for(i=0; i<10; i++){
                 ^
/in/ex3.c:18:18: error: stray '\240' in program
                    for(i=0; i<10; i++){
                  ^
/in/ex3.c:18:19: error: stray '\302' in program
                    for(i=0; i<10; i++){
                   ^
/in/ex3.c:18:20: error: stray '\240' in program
                    for(i=0; i<10; i++){
                    ^
/in/ex3.c:18:21: error: stray '\302' in program
                    for(i=0; i<10; i++){
                     ^
/in/ex3.c:18:22: error: stray '\240' in program
                    for(i=0; i<10; i++){
                      ^
/in/ex3.c:18:31: error: stray '\302' in program
                    for(i=0; i<10; i++){
                               ^
/in/ex3.c:18:32: error: stray '\240' in program
                    for(i=0; i<10; i++){
                                ^
/in/ex3.c:18:38: error: stray '\302' in program
                    for(i=0; i<10; i++){
                                      ^
/in/ex3.c:18:39: error: stray '\240' in program
                    for(i=0; i<10; i++){
                                       ^
/in/ex3.c:19:21: error: stray '\302' in program
                            for(j=0; j<10; j++)
                     ^
/in/ex3.c:19:22: error: stray '\240' in program
                            for(j=0; j<10; j++)
                      ^
/in/ex3.c:19:23: error: stray '\302' in program
                            for(j=0; j<10; j++)
                       ^
/in/ex3.c:19:24: error: stray '\240' in program
                            for(j=0; j<10; j++)
                        ^
/in/ex3.c:19:25: error: stray '\302' in program
                            for(j=0; j<10; j++)
                         ^
/in/ex3.c:19:26: error: stray '\240' in program
                            for(j=0; j<10; j++)
                          ^
/in/ex3.c:19:27: error: stray '\302' in program
                            for(j=0; j<10; j++)
                           ^
/in/ex3.c:19:28: error: stray '\240' in program
                            for(j=0; j<10; j++)
                            ^
/in/ex3.c:19:29: error: stray '\302' in program
                            for(j=0; j<10; j++)
                             ^
/in/ex3.c:19:30: error: stray '\240' in program
                            for(j=0; j<10; j++)
                              ^
/in/ex3.c:19:31: error: stray '\302' in program
                            for(j=0; j<10; j++)
                               ^
/in/ex3.c:19:32: error: stray '\240' in program
                            for(j=0; j<10; j++)
                                ^
/in/ex3.c:19:33: error: stray '\302' in program
                            for(j=0; j<10; j++)
                                 ^
/in/ex3.c:19:34: error: stray '\240' in program
                            for(j=0; j<10; j++)
                                  ^
/in/ex3.c:19:43: error: stray '\302' in program
                            for(j=0; j<10; j++)
                                           ^
/in/ex3.c:19:44: error: stray '\240' in program
                            for(j=0; j<10; j++)
                                            ^
/in/ex3.c:19:50: error: stray '\302' in program
                            for(j=0; j<10; j++)
                                                  ^
/in/ex3.c:19:51: error: stray '\240' in program
                            for(j=0; j<10; j++)
                                                   ^
/in/ex3.c:20:21: error: stray '\302' in program
                                step[i][j]='.';
                     ^
/in/ex3.c:20:22: error: stray '\240' in program
                                step[i][j]='.';
                      ^
/in/ex3.c:20:23: error: stray '\302' in program
                                step[i][j]='.';
                       ^
/in/ex3.c:20:24: error: stray '\240' in program
                                step[i][j]='.';
                        ^
/in/ex3.c:20:25: error: stray '\302' in program
                                step[i][j]='.';
                         ^
/in/ex3.c:20:26: error: stray '\240' in program
                                step[i][j]='.';
                          ^
/in/ex3.c:20:27: error: stray '\302' in program
                                step[i][j]='.';
                           ^
/in/ex3.c:20:28: error: stray '\240' in program
                                step[i][j]='.';
                            ^
/in/ex3.c:20:29: error: stray '\302' in program
                                step[i][j]='.';
                             ^
/in/ex3.c:20:30: error: stray '\240' in program
                                step[i][j]='.';
                              ^
/in/ex3.c:20:31: error: stray '\302' in program
                                step[i][j]='.';
                               ^
/in/ex3.c:20:32: error: stray '\240' in program
                                step[i][j]='.';
                                ^
/in/ex3.c:20:33: error: stray '\302' in program
                                step[i][j]='.';
                                 ^
/in/ex3.c:20:34: error: stray '\240' in program
                                step[i][j]='.';
                                  ^
/in/ex3.c:20:35: error: stray '\302' in program
                                step[i][j]='.';
                                   ^
/in/ex3.c:20:36: error: stray '\240' in program
                                step[i][j]='.';
                                    ^
/in/ex3.c:20:37: error: stray '\302' in program
                                step[i][j]='.';
                                     ^
/in/ex3.c:20:38: error: stray '\240' in program
                                step[i][j]='.';
                                      ^
/in/ex3.c:20:39: error: stray '\302' in program
                                step[i][j]='.';
                                       ^
/in/ex3.c:20:40: error: stray '\240' in program
                                step[i][j]='.';
                                        ^
/in/ex3.c:20:41: error: stray '\302' in program
                                step[i][j]='.';
                                         ^
/in/ex3.c:20:42: error: stray '\240' in program
                                step[i][j]='.';
                                          ^
/in/ex3.c:21:21: error: stray '\302' in program
                         }
                     ^
/in/ex3.c:21:22: error: stray '\240' in program
                         }
                      ^
/in/ex3.c:21:23: error: stray '\302' in program
                         }
                       ^
/in/ex3.c:21:24: error: stray '\240' in program
                         }
                        ^
/in/ex3.c:21:25: error: stray '\302' in program
                         }
                         ^
/in/ex3.c:21:26: error: stray '\240' in program
                         }
                          ^
/in/ex3.c:21:27: error: stray '\302' in program
                         }
                           ^
/in/ex3.c:21:28: error: stray '\240' in program
                         }
                            ^
/in/ex3.c:22:17: error: stray '\302' in program
                    srand((unsigned) time(NULL));
                 ^
/in/ex3.c:22:18: error: stray '\240' in program
                    srand((unsigned) time(NULL));
                  ^
/in/ex3.c:22:19: error: stray '\302' in program
                    srand((unsigned) time(NULL));
                   ^
/in/ex3.c:22:20: error: stray '\240' in program
                    srand((unsigned) time(NULL));
                    ^
/in/ex3.c:22:21: error: stray '\302' in program
                    srand((unsigned) time(NULL));
                     ^
/in/ex3.c:22:22: error: stray '\240' in program
                    srand((unsigned) time(NULL));
                      ^
/in/ex3.c:22:23: error: implicit declaration of function 'srand' [-Werror=implicit-function-declaration]
                    srand((unsigned) time(NULL));
                       ^~~~~
/in/ex3.c:22:39: error: stray '\302' in program
                    srand((unsigned) time(NULL));
                                       ^
/in/ex3.c:22:40: error: stray '\240' in program
                    srand((unsigned) time(NULL));
                                        ^
/in/ex3.c:23:17: error: stray '\302' in program
                    ch=step[0][0]='A';
                 ^
/in/ex3.c:23:18: error: stray '\240' in program
                    ch=step[0][0]='A';
                  ^
/in/ex3.c:23:19: error: stray '\302' in program
                    ch=step[0][0]='A';
                   ^
/in/ex3.c:23:20: error: stray '\240' in program
                    ch=step[0][0]='A';
                    ^
/in/ex3.c:23:21: error: stray '\302' in program
                    ch=step[0][0]='A';
                     ^
/in/ex3.c:23:22: error: stray '\240' in program
                    ch=step[0][0]='A';
                      ^
/in/ex3.c:24:17: error: stray '\302' in program
                    for(i=0,j=0; ch<'Z';){
                 ^
/in/ex3.c:24:18: error: stray '\240' in program
                    for(i=0,j=0; ch<'Z';){
                  ^
/in/ex3.c:24:19: error: stray '\302' in program
                    for(i=0,j=0; ch<'Z';){
                   ^
/in/ex3.c:24:20: error: stray '\240' in program
                    for(i=0,j=0; ch<'Z';){
                    ^
/in/ex3.c:24:21: error: stray '\302' in program
                    for(i=0,j=0; ch<'Z';){
                     ^
/in/ex3.c:24:22: error: stray '\240' in program
                    for(i=0,j=0; ch<'Z';){
                      ^
/in/ex3.c:24:35: error: stray '\302' in program
                    for(i=0,j=0; ch<'Z';){
                                   ^
/in/ex3.c:24:36: error: stray '\240' in program
                    for(i=0,j=0; ch<'Z';){
                                    ^
/in/ex3.c:25:21: error: stray '\302' in program
                            ++ch;
                     ^
/in/ex3.c:25:22: error: stray '\240' in program
                            ++ch;
                      ^
/in/ex3.c:25:23: error: stray '\302' in program
                            ++ch;
                       ^
/in/ex3.c:25:24: error: stray '\240' in program
                            ++ch;
                        ^
/in/ex3.c:25:25: error: stray '\302' in program
                            ++ch;
                         ^
/in/ex3.c:25:26: error: stray '\240' in program
                            ++ch;
                          ^
/in/ex3.c:25:27: error: stray '\302' in program
                            ++ch;
                           ^
/in/ex3.c:25:28: error: stray '\240' in program
                            ++ch;
                            ^
/in/ex3.c:25:29: error: stray '\302' in program
                            ++ch;
                             ^
/in/ex3.c:25:30: error: stray '\240' in program
                            ++ch;
                              ^
/in/ex3.c:25:31: error: stray '\302' in program
                            ++ch;
                               ^
/in/ex3.c:25:32: error: stray '\240' in program
                            ++ch;
                                ^
/in/ex3.c:25:33: error: stray '\302' in program
                            ++ch;
                                 ^
/in/ex3.c:25:34: error: stray '\240' in program
                            ++ch;
                                  ^
/in/ex3.c:26:21: error: stray '\302' in program
                            come=rand()%4;
                     ^
/in/ex3.c:26:22: error: stray '\240' in program
                            come=rand()%4;
                      ^
/in/ex3.c:26:23: error: stray '\302' in program
                            come=rand()%4;
                       ^
/in/ex3.c:26:24: error: stray '\240' in program
                            come=rand()%4;
                        ^
/in/ex3.c:26:25: error: stray '\302' in program
                            come=rand()%4;
                         ^
/in/ex3.c:26:26: error: stray '\240' in program
                            come=rand()%4;
                          ^
/in/ex3.c:26:27: error: stray '\302' in program
                            come=rand()%4;
                           ^
/in/ex3.c:26:28: error: stray '\240' in program
                            come=rand()%4;
                            ^
/in/ex3.c:26:29: error: stray '\302' in program
                            come=rand()%4;
                             ^
/in/ex3.c:26:30: error: stray '\240' in program
                            come=rand()%4;
                              ^
/in/ex3.c:26:31: error: stray '\302' in program
                            come=rand()%4;
                               ^
/in/ex3.c:26:32: error: stray '\240' in program
                            come=rand()%4;
                                ^
/in/ex3.c:26:33: error: stray '\302' in program
                            come=rand()%4;
                                 ^
/in/ex3.c:26:34: error: stray '\240' in program
                            come=rand()%4;
                                  ^
/in/ex3.c:26:40: error: implicit declaration of function 'rand' [-Werror=implicit-function-declaration]
                            come=rand()%4;
     

Information

Submit By
Type
Submission
Homework
Homework 4
Language
C
Submit At
2020-07-06 20:23:11
Judged At
2020-07-06 20:23:12
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes