Record Detail

Compile Error

In file included from /in/compile/io.cpp:7:0:
/in/compile/io.h:7:16: error: variable or field 'PrintGame' declared void
 void PrintGame(Game* game);
                ^~~~
/in/compile/io.h:7:16: error: 'Game' was not declared in this scope
/in/compile/io.h:7:22: error: 'game' was not declared in this scope
 void PrintGame(Game* game);
                      ^~~~
/in/compile/io.h:8:15: error: variable or field 'PlayGame' declared void
 void PlayGame(Game* game);
               ^~~~
/in/compile/io.h:8:15: error: 'Game' was not declared in this scope
/in/compile/io.h:8:21: error: 'game' was not declared in this scope
 void PlayGame(Game* game);
                     ^~~~
/in/compile/io.cpp:21:16: error: variable or field 'PrintGame' declared void
 void PrintGame(Game* game){
                ^~~~
/in/compile/io.cpp:21:16: error: 'Game' was not declared in this scope
/in/compile/io.cpp:21:22: error: 'game' was not declared in this scope
 void PrintGame(Game* game){
                      ^~~~
/in/compile/io.cpp:71:15: error: variable or field 'PlayGame' declared void
 void PlayGame(Game* game){
               ^~~~
/in/compile/io.cpp:71:15: error: 'Game' was not declared in this scope
/in/compile/io.cpp:71:21: error: 'game' was not declared in this scope
 void PlayGame(Game* game){
                     ^~~~
In file included from /in/compile/map.h:1:0,
                 from /in/compile/map.cpp:1:
/in/compile/io.h:7:16: error: variable or field 'PrintGame' declared void
 void PrintGame(Game* game);
                ^~~~
/in/compile/io.h:7:16: error: 'Game' was not declared in this scope
/in/compile/io.h:7:22: error: 'game' was not declared in this scope
 void PrintGame(Game* game);
                      ^~~~
/in/compile/io.h:8:15: error: variable or field 'PlayGame' declared void
 void PlayGame(Game* game);
               ^~~~
/in/compile/io.h:8:15: error: 'Game' was not declared in this scope
/in/compile/io.h:8:21: error: 'game' was not declared in this scope
 void PlayGame(Game* game);
                     ^~~~
In file included from /in/compile/map.cpp:1:0:
/in/compile/map.h:9:11: error: variable or field 'map1' declared void
 void map1(Game *game);
           ^~~~
/in/compile/map.h:9:11: error: 'Game' was not declared in this scope
/in/compile/map.h:9:11: note: suggested alternative: 'time'
 void map1(Game *game);
           ^~~~
           time
/in/compile/map.h:9:17: error: 'game' was not declared in this scope
 void map1(Game *game);
                 ^~~~
/in/compile/map.h:9:17: note: suggested alternative: 'time'
 void map1(Game *game);
                 ^~~~
                 time
/in/compile/map.h:10:11: error: variable or field 'map2' declared void
 void map2(Game *game);
           ^~~~
/in/compile/map.h:10:11: error: 'Game' was not declared in this scope
/in/compile/map.h:10:11: note: suggested alternative: 'time'
 void map2(Game *game);
           ^~~~
           time
/in/compile/map.h:10:17: error: 'game' was not declared in this scope
 void map2(Game *game);
                 ^~~~
/in/compile/map.h:10:17: note: suggested alternative: 'time'
 void map2(Game *game);
                 ^~~~
                 time
/in/compile/map.h:11:11: error: variable or field 'map3' declared void
 void map3(Game *game);
           ^~~~
/in/compile/map.h:11:11: error: 'Game' was not declared in this scope
/in/compile/map.h:11:11: note: suggested alternative: 'time'
 void map3(Game *game);
           ^~~~
           time
/in/compile/map.h:11:17: error: 'game' was not declared in this scope
 void map3(Game *game);
                 ^~~~
/in/compile/map.h:11:17: note: suggested alternative: 'time'
 void map3(Game *game);
                 ^~~~
                 time
/in/compile/map.h:12:11: error: variable or field 'map4' declared void
 void map4(Game *game);
           ^~~~
/in/compile/map.h:12:11: error: 'Game' was not declared in this scope
/in/compile/map.h:12:11: note: suggested alternative: 'time'
 void map4(Game *game);
           ^~~~
           time
/in/compile/map.h:12:17: error: 'game' was not declared in this scope
 void map4(Game *game);
                 ^~~~
/in/compile/map.h:12:17: note: suggested alternative: 'time'
 void map4(Game *game);
                 ^~~~
                 time
/in/compile/map.h:13:11: error: variable or field 'map5' declared void
 void map5(Game *game);
           ^~~~
/in/compile/map.h:13:11: error: 'Game' was not declared in this scope
/in/compile/map.h:13:11: note: suggested alternative: 'time'
 void map5(Game *game);
           ^~~~
           time
/in/compile/map.h:13:17: error: 'game' was not declared in this scope
 void map5(Game *game);
                 ^~~~
/in/compile/map.h:13:17: note: suggested alternative: 'time'
 void map5(Game *game);
                 ^~~~
                 time
/in/compile/map.h:14:11: error: variable or field 'map6' declared void
 void map6(Game *game);
           ^~~~
/in/compile/map.h:14:11: error: 'Game' was not declared in this scope
/in/compile/map.h:14:11: note: suggested alternative: 'time'
 void map6(Game *game);
           ^~~~
           time
/in/compile/map.h:14:17: error: 'game' was not declared in this scope
 void map6(Game *game);
                 ^~~~
/in/compile/map.h:14:17: note: suggested alternative: 'time'
 void map6(Game *game);
                 ^~~~
                 time
/in/compile/map.h:15:11: error: variable or field 'map7' declared void
 void map7(Game *game);
           ^~~~
/in/compile/map.h:15:11: error: 'Game' was not declared in this scope
/in/compile/map.h:15:11: note: suggested alternative: 'time'
 void map7(Game *game);
           ^~~~
           time
/in/compile/map.h:15:17: error: 'game' was not declared in this scope
 void map7(Game *game);
                 ^~~~
/in/compile/map.h:15:17: note: suggested alternative: 'time'
 void map7(Game *game);
                 ^~~~
                 time
/in/compile/map.h:16:11: error: variable or field 'map8' declared void
 void map8(Game *game);
           ^~~~
/in/compile/map.h:16:11: error: 'Game' was not declared in this scope
/in/compile/map.h:16:11: note: suggested alternative: 'time'
 void map8(Game *game);
           ^~~~
           time
/in/compile/map.h:16:17: error: 'game' was not declared in this scope
 void map8(Game *game);
                 ^~~~
/in/compile/map.h:16:17: note: suggested alternative: 'time'
 void map8(Game *game);
                 ^~~~
                 time
/in/compile/map.h:17:11: error: variable or field 'map9' declared void
 void map9(Game *game);
           ^~~~
/in/compile/map.h:17:11: error: 'Game' was not declared in this scope
/in/compile/map.h:17:11: note: suggested alternative: 'time'
 void map9(Game *game);
           ^~~~
           time
/in/compile/map.h:17:17: error: 'game' was not declared in this scope
 void map9(Game *game);
                 ^~~~
/in/compile/map.h:17:17: note: suggested alternative: 'time'
 void map9(Game *game);
                 ^~~~
                 time
/in/compile/map.h:18:12: error: variable or field 'map10' declared void
 void map10(Game *game);
            ^~~~
/in/compile/map.h:18:12: error: 'Game' was not declared in this scope
/in/compile/map.h:18:12: note: suggested alternative: 'time'
 void map10(Game *game);
            ^~~~
            time
/in/compile/map.h:18:18: error: 'game' was not declared in this scope
 void map10(Game *game);
                  ^~~~
/in/compile/map.h:18:18: note: suggested alternative: 'time'
 void map10(Game *game);
                  ^~~~
                  time
/in/compile/map.cpp:3:11: error: variable or field 'map1' declared void
 void map1(Game *game)
           ^~~~
/in/compile/map.cpp:3:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:3:11: note: suggested alternative: 'time'
 void map1(Game *game)
           ^~~~
           time
/in/compile/map.cpp:3:17: error: 'game' was not declared in this scope
 void map1(Game *game)
                 ^~~~
/in/compile/map.cpp:3:17: note: suggested alternative: 'time'
 void map1(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:25:11: error: variable or field 'map2' declared void
 void map2(Game *game)
           ^~~~
/in/compile/map.cpp:25:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:25:11: note: suggested alternative: 'time'
 void map2(Game *game)
           ^~~~
           time
/in/compile/map.cpp:25:17: error: 'game' was not declared in this scope
 void map2(Game *game)
                 ^~~~
/in/compile/map.cpp:25:17: note: suggested alternative: 'time'
 void map2(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:42:11: error: variable or field 'map3' declared void
 void map3(Game *game)
           ^~~~
/in/compile/map.cpp:42:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:42:11: note: suggested alternative: 'time'
 void map3(Game *game)
           ^~~~
           time
/in/compile/map.cpp:42:17: error: 'game' was not declared in this scope
 void map3(Game *game)
                 ^~~~
/in/compile/map.cpp:42:17: note: suggested alternative: 'time'
 void map3(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:64:11: error: variable or field 'map4' declared void
 void map4(Game *game)
           ^~~~
/in/compile/map.cpp:64:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:64:11: note: suggested alternative: 'time'
 void map4(Game *game)
           ^~~~
           time
/in/compile/map.cpp:64:17: error: 'game' was not declared in this scope
 void map4(Game *game)
                 ^~~~
/in/compile/map.cpp:64:17: note: suggested alternative: 'time'
 void map4(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:74:11: error: variable or field 'map5' declared void
 void map5(Game *game)
           ^~~~
/in/compile/map.cpp:74:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:74:11: note: suggested alternative: 'time'
 void map5(Game *game)
           ^~~~
           time
/in/compile/map.cpp:74:17: error: 'game' was not declared in this scope
 void map5(Game *game)
                 ^~~~
/in/compile/map.cpp:74:17: note: suggested alternative: 'time'
 void map5(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:91:11: error: variable or field 'map6' declared void
 void map6(Game *game)
           ^~~~
/in/compile/map.cpp:91:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:91:11: note: suggested alternative: 'time'
 void map6(Game *game)
           ^~~~
           time
/in/compile/map.cpp:91:17: error: 'game' was not declared in this scope
 void map6(Game *game)
                 ^~~~
/in/compile/map.cpp:91:17: note: suggested alternative: 'time'
 void map6(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:107:11: error: variable or field 'map7' declared void
 void map7(Game *game)
           ^~~~
/in/compile/map.cpp:107:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:107:11: note: suggested alternative: 'time'
 void map7(Game *game)
           ^~~~
           time
/in/compile/map.cpp:107:17: error: 'game' was not declared in this scope
 void map7(Game *game)
                 ^~~~
/in/compile/map.cpp:107:17: note: suggested alternative: 'time'
 void map7(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:123:11: error: variable or field 'map8' declared void
 void map8(Game *game)
           ^~~~
/in/compile/map.cpp:123:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:123:11: note: suggested alternative: 'time'
 void map8(Game *game)
           ^~~~
           time
/in/compile/map.cpp:123:17: error: 'game' was not declared in this scope
 void map8(Game *game)
                 ^~~~
/in/compile/map.cpp:123:17: note: suggested alternative: 'time'
 void map8(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:132:11: error: variable or field 'map9' declared void
 void map9(Game *game)
           ^~~~
/in/compile/map.cpp:132:11: error: 'Game' was not declared in this scope
/in/compile/map.cpp:132:11: note: suggested alternative: 'time'
 void map9(Game *game)
           ^~~~
           time
/in/compile/map.cpp:132:17: error: 'game' was not declared in this scope
 void map9(Game *game)
                 ^~~~
/in/compile/map.cpp:132:17: note: suggested alternative: 'time'
 void map9(Game *game)
                 ^~~~
                 time
/in/compile/map.cpp:160:12: error: variable or field 'map10' declared void
 void map10(Game *game)
            ^~~~
/in/compile/map.cpp:160:12: error: 'Game' was not declared in this scope
/in/compile/map.cpp:160:12: note: suggested alternative: 'time'
 void map10(Game *game)
            ^~~~
            time
/in/compile/map.cpp:160:18: error: 'game' was not declared in this scope
 void map10(Game *game)
                  ^~~~
/in/compile/map.cpp:160:18: note: suggested alternative: 'time'
 void map10(Game *game)
                  ^~~~
                  time
In file included from /in/compile/map.h:1:0,
                 from /in/compile/main.cpp:1:
/in/compile/io.h:7:16: error: variable or field 'PrintGame' declared void
 void PrintGame(Game* game);
                ^~~~
/in/compile/io.h:7:16: error: 'Game' was not declared in this scope
/in/compile/io.h:7:22: error: 'game' was not declared in this scope
 void PrintGame(Game* game);
                      ^~~~
/in/compile/io.h:8:15: error: variable or field 'PlayGame' declared void
 void PlayGame(Game* game);
               ^~~~
/in/compile/io.h:8:15: error: 'Game' was not declared in this scope
/in/compile/io.h:8:21: error: 'game' was not declared in this scope
 void PlayGame(Game* game);
                     ^~~~
In file included from /in/compile/main.cpp:1:0:
/in/compile/map.h:9:11: error: variable or field 'map1' declared void
 void map1(Game *game);
           ^~~~
/in/compile/map.h:9:11: error: 'Game' was not declared in this scope
/in/compile/map.h:9:11: note: suggested alternative: 'time'
 void map1(Game *game);
           ^~~~
           time
/in/compile/map.h:9:17: error: 'game' was not declared in this scope
 void map1(Game *game);
                 ^~~~
/in/compile/map.h:9:17: note: suggested alternative: 'time'
 void map1(Game *game);
                 ^~~~
                 time
/in/compile/map.h:10:11: error: variable or field 'map2' declared void
 void map2(Game *game);
           ^~~~
/in/compile/map.h:10:11: error: 'Game' was not declared in this scope
/in/compile/map.h:10:11: note: suggested alternative: 'time'
 void map2(Game *game);
           ^~~~
           time
/in/compile/map.h:10:17: error: 'game' was not declared in this scope
 void map2(Game *game);
                 ^~~~
/in/compile/map.h:10:17: note: suggested alternative: 'time'
 void map2(Game *game);
                 ^~~~
                 time
/in/compile/map.h:11:11: error: variable or field 'map3' declared void
 void map3(Game *game);
           ^~~~
/in/compile/map.h:11:11: error: 'Game' was not declared in this scope
/in/compile/map.h:11:11: note: suggested alternative: 'time'
 void map3(Game *game);
           ^~~~
           time
/in/compile/map.h:11:17: error: 'game' was not declared in this scope
 void map3(Game *game);
                 ^~~~
/in/compile/map.h:11:17: note: suggested alternative: 'time'
 void map3(Game *game);
                 ^~~~
                 time
/in/compile/map.h:12:11: error: variable or field 'map4' declared void
 void map4(Game *game);
           ^~~~
/in/compile/map.h:12:11: error: 'Game' was not declared in this scope
/in/compile/map.h:12:11: note: suggested alternative: 'time'
 void map4(Game *game);
           ^~~~
           time
/in/compile/map.h:12:17: error: 'game' was not declared in this scope
 void map4(Game *game);
                 ^~~~
/in/compile/map.h:12:17: note: suggested alternative: 'time'
 void map4(Game *game);
                 ^~~~
                 time
/in/compile/map.h:13:11: error: variable or field 'map5' declared void
 void map5(Game *game);
           ^~~~
/in/compile/map.h:13:11: error: 'Game' was not declared in this scope
/in/compile/map.h:13:11: note: suggested alternative: 'time'
 void map5(Game *game);
           ^~~~
           time
/in/compile/map.h:13:17: error: 'game' was not declared in this scope
 void map5(Game *game);
                 ^~~~
/in/compile/map.h:13:17: note: suggested alternative: 'time'
 void map5(Game *game);
                 ^~~~
                 time
/in/compile/map.h:14:11: error: variable or field 'map6' declared void
 void map6(Game *game);
           ^~~~
/in/compile/map.h:14:11: error: 'Game' was not declared in this scope
/in/compile/map.h:14:11: note: suggested alternative: 'time'
 void map6(Game *game);
           ^~~~
           time
/in/compile/map.h:14:17: error: 'game' was not declared in this scope
 void map6(Game *game);
                 ^~~~
/in/compile/map.h:14:17: note: suggested alternative: 'time'
 void map6(Game *game);
                 ^~~~
                 time
/in/compile/map.h:15:11: error: variable or field 'map7' declared void
 void map7(Game *game);
           ^~~~
/in/compile/map.h:15:11: error: 'Game' was not declared in this scope
/in/compile/map.h:15:11: note: suggested alternative: 'time'
 void map7(Game *game);
           ^~~~
           time
/in/compile/map.h:15:17: error: 'game' was not declared in this scope
 void map7(Game *game);
                 ^~~~
/in/compile/map.h:15:17: note: suggested alternative: 'time'
 void map7(Game *game);
                 ^~~~
                 time
/in/compile/map.h:16:11: error: variable or field 'map8' declared void
 void map8(Game *game);
           ^~~~
/in/compile/map.h:16:11: error: 'Game' was not declared in this scope
/in/compile/map.h:16:11: note: suggested alternative: 'time'
 void map8(Game *game);
           ^~~~
           time
/in/compile/map.h:16:17: error: 'game' was not declared in this scope
 void map8(Game *game);
                 ^~~~
/in/compile/map.h:16:17: note: suggested alternative: 'time'
 void map8(Game *game);
                 ^~~~
                 time
/in/compile/map.h:17:11: error: variable or field 'map9' declared void
 void map9(Game *game);
           ^~~~
/in/compile/map.h:17:11: error: 'Game' was not declared in this scope
/in/compile/map.h:17:11: note: suggested alternative: 'time'
 void map9(Game *game);
           ^~~~
           time
/in/compile/map.h:17:17: error: 'game' was not declared in this scope
 void map9(Game *game);
                 ^~~~
/in/compile/map.h:17:17: note: suggested alternative: 'time'
 void map9(Game *game);
                 ^~~~
                 time
/in/compile/map.h:18:12: error: variable or field 'map10' declared void
 void map10(Game *game);
            ^~~~
/in/compile/map.h:18:12: error: 'Game' was not declared in this scope
/in/compile/map.h:18:12: note: suggested alternative: 'time'
 void map10(Game *game);
            ^~~~
            time
/in/compile/map.h:18:18: error: 'game' was not declared in this scope
 void map10(Game *game);
                  ^~~~
/in/compile/map.h:18:18: note: suggested alternative: 'time'
 void map10(Game *game);
                  ^~~~
                  time
/in/compile/main.cpp: In function 'int main()':
/in/compile/main.cpp:17:3: error: 'Game' was not declared in this scope
   Game *game = NewGame(9, 10);
   ^~~~
/in/compile/main.cpp:17:3: note: suggested alternative: 'time'
   Game *game = NewGame(9, 10);
   ^~~~
   time
/in/compile/main.cpp:17:9: error: 'game' was not declared in this scope
   Game *game = NewGame(9, 10);
         ^~~~
/in/compile/main.cpp:17:9: note: suggested alternative: 'time'
   Game *game = NewGame(9, 10);
         ^~~~
         time
/in/compile/main.cpp:17:16: error: 'NewGame' was not declared in this scope
   Game *game = NewGame(9, 10);
                ^~~~~~~
/in/compile/main.cpp:17:16: note: suggested alternative: 'rename'
   Game *game = NewGame(9, 10);
                ^~~~~~~
                rename
/in/compile/main.cpp:18:3: error: 'map1' was not declared in this scope
   map1(game);
   ^~~~
/in/compile/main.cpp:18:3: note: suggested alternative: 'main'
   map1(game);
   ^~~~
   main
/in/compile/main.cpp:19:3: error: 'PlayGame' was not declared in this scope
   PlayGame(game);
   ^~~~~~~~
/in/compile/main.cpp:24:3: error: 'Game' was not declared in this scope
   Game *game = NewGame(9, 18);
   ^~~~
/in/compile/main.cpp:24:3: note: suggested alte

Information

Submit By
Type
Submission
Homework
Lab 6: Pacman
Language
C++
Submit At
2024-12-05 15:35:14
Judged At
2024-12-05 15:35:14
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes