Record Detail

Compile Error

/in/game.cpp: In function 'bool AddGhost(Game*, int, int, Direction)':
/in/game.cpp:299:6: error: redefinition of 'bool AddGhost(Game*, int, int, Direction)'
 bool AddGhost(Game* game, int r, int c, Direction direction) {
      ^~~~~~~~
/in/game.cpp:150:6: note: 'bool AddGhost(Game*, int, int, Direction)' previously defined here
 bool AddGhost(Game* game, int r, int c, Direction direction) {
      ^~~~~~~~
/in/game.cpp: In function 'void InitializeGame(Game*)':
/in/game.cpp:395:6: error: redefinition of 'void InitializeGame(Game*)'
 void InitializeGame(Game* game) {
      ^~~~~~~~~~~~~~
/in/game.cpp:34:6: note: 'void InitializeGame(Game*)' previously defined here
 void InitializeGame(Game* game) {
      ^~~~~~~~~~~~~~

Information

Submit By
Type
Submission
Homework
Lab 6: Pacman
Language
C++
Submit At
2024-12-08 23:42:57
Judged At
2024-12-08 23:42:57
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes