Record Detail

Compile Error

/in/compile/io.cpp: In function 'void PlayGame(Game*)':
/in/compile/io.cpp:115:9: error: 'MoveGhosts' was not declared in this scope
         MoveGhosts(game);
         ^~~~~~~~~~
/in/compile/map.cpp: In function 'void map3(Game*)':
/in/compile/map.cpp:55:2: error: 'AddCapsule' was not declared in this scope
  AddCapsule(game, 4, 2), AddCapsule(game, 4, 5), AddCapsule(game, 4, 12), AddCapsule(game, 4, 15);
  ^~~~~~~~~~
/in/compile/map.cpp:55:2: note: suggested alternative: 'AddWall'
  AddCapsule(game, 4, 2), AddCapsule(game, 4, 5), AddCapsule(game, 4, 12), AddCapsule(game, 4, 15);
  ^~~~~~~~~~
  AddWall
/in/compile/map.cpp:58:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 2, 3, right), AddGhost(game, 4, 5, down);
  ^~~~~~~~
/in/compile/map.cpp:58:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 2, 3, right), AddGhost(game, 4, 5, down);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp: In function 'void map4(Game*)':
/in/compile/map.cpp:67:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 0, 1, right);
  ^~~~~~~~
/in/compile/map.cpp:67:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 0, 1, right);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp: In function 'void map5(Game*)':
/in/compile/map.cpp:77:2: error: 'AddCapsule' was not declared in this scope
  AddCapsule(game, 4, 2), AddCapsule(game, 4, 5), AddCapsule(game, 4, 12), AddCapsule(game, 4, 15);
  ^~~~~~~~~~
/in/compile/map.cpp:77:2: note: suggested alternative: 'AddWall'
  AddCapsule(game, 4, 2), AddCapsule(game, 4, 5), AddCapsule(game, 4, 12), AddCapsule(game, 4, 15);
  ^~~~~~~~~~
  AddWall
/in/compile/map.cpp:87:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 2, 3, down), AddGhost(game, 4, 5, right);
  ^~~~~~~~
/in/compile/map.cpp:87:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 2, 3, down), AddGhost(game, 4, 5, right);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp: In function 'void map6(Game*)':
/in/compile/map.cpp:94:2: error: 'AddCapsule' was not declared in this scope
  AddCapsule(game, 8, 2), AddCapsule(game, 8, 6), AddCapsule(game, 8, 11);
  ^~~~~~~~~~
/in/compile/map.cpp:94:2: note: suggested alternative: 'AddWall'
  AddCapsule(game, 8, 2), AddCapsule(game, 8, 6), AddCapsule(game, 8, 11);
  ^~~~~~~~~~
  AddWall
/in/compile/map.cpp:103:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 2, 3, down), AddGhost(game, 4, 5, right);
  ^~~~~~~~
/in/compile/map.cpp:103:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 2, 3, down), AddGhost(game, 4, 5, right);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp: In function 'void map7(Game*)':
/in/compile/map.cpp:118:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 2, 3, down), AddGhost(game, 4, 5, right);
  ^~~~~~~~
/in/compile/map.cpp:118:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 2, 3, down), AddGhost(game, 4, 5, right);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp: In function 'void map8(Game*)':
/in/compile/map.cpp:128:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 0, 2, right), AddGhost(game, 0, 4, down), AddGhost(game, 1, 2, right), AddGhost(game, 2, 0, down), AddGhost(game, 3, 3, down), AddGhost(game, 4, 1, right), AddGhost(game, 4, 4, right);
  ^~~~~~~~
/in/compile/map.cpp:128:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 0, 2, right), AddGhost(game, 0, 4, down), AddGhost(game, 1, 2, right), AddGhost(game, 2, 0, down), AddGhost(game, 3, 3, down), AddGhost(game, 4, 1, right), AddGhost(game, 4, 4, right);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp:129:2: error: 'AddCapsule' was not declared in this scope
  AddCapsule(game, 0, 0), AddCapsule(game, 2, 2), AddCapsule(game, 2, 4), AddCapsule(game, 4, 3);
  ^~~~~~~~~~
/in/compile/map.cpp:129:2: note: suggested alternative: 'AddWall'
  AddCapsule(game, 0, 0), AddCapsule(game, 2, 2), AddCapsule(game, 2, 4), AddCapsule(game, 4, 3);
  ^~~~~~~~~~
  AddWall
/in/compile/map.cpp: In function 'void map9(Game*)':
/in/compile/map.cpp:155:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 0, 0, right), AddGhost(game, 14, 14, left), AddGhost(game, 0, 14, down), AddGhost(game, 14, 0, up);
  ^~~~~~~~
/in/compile/map.cpp:155:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 0, 0, right), AddGhost(game, 14, 14, left), AddGhost(game, 0, 14, down), AddGhost(game, 14, 0, up);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp:157:2: error: 'AddCapsule' was not declared in this scope
  AddCapsule(game, 3, 8), AddCapsule(game, 9, 7), AddCapsule(game, 11, 7);
  ^~~~~~~~~~
/in/compile/map.cpp:157:2: note: suggested alternative: 'AddWall'
  AddCapsule(game, 3, 8), AddCapsule(game, 9, 7), AddCapsule(game, 11, 7);
  ^~~~~~~~~~
  AddWall
/in/compile/map.cpp: In function 'void map10(Game*)':
/in/compile/map.cpp:183:2: error: 'AddGhost' was not declared in this scope
  AddGhost(game, 0, 0, right), AddGhost(game, 14, 14, left), AddGhost(game, 0, 14, down), AddGhost(game, 14, 0, up);
  ^~~~~~~~
/in/compile/map.cpp:183:2: note: suggested alternative: 'AddFood'
  AddGhost(game, 0, 0, right), AddGhost(game, 14, 14, left), AddGhost(game, 0, 14, down), AddGhost(game, 14, 0, up);
  ^~~~~~~~
  AddFood
/in/compile/map.cpp:185:2: error: 'AddCapsule' was not declared in this scope
  AddCapsule(game, 3, 7), AddCapsule(game, 5, 7), AddCapsule(game, 9, 7), AddCapsule(game, 11, 7);
  ^~~~~~~~~~
/in/compile/map.cpp:185:2: note: suggested alternative: 'AddWall'
  AddCapsule(game, 3, 7), AddCapsule(game, 5, 7), AddCapsule(game, 9, 7), AddCapsule(game, 11, 7);
  ^~~~~~~~~~
  AddWall

Information

Submit By
Type
Submission
Homework
Lab 6: Pacman
Language
C++
Submit At
2024-12-09 19:27:38
Judged At
2024-12-09 19:27:38
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes