horses.cpp: In function 'int main(int, char**)':
horses.cpp:9:14: warning: unused parameter 'argc' [-Wunused-parameter]
9 | int main(int argc, char **argv)
| ~~~~^~~~
horses.cpp:9:27: warning: unused parameter 'argv' [-Wunused-parameter]
9 | int main(int argc, char **argv)
| ~~~~~~~^~~~
/usr/bin/ld: /tmp/cc7gWfxO.o: in function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'; /tmp/ccC5UEEN.o:horses.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc7gWfxO.o: in function `main':
grader.c:(.text.startup+0xaa): undefined reference to `init(int, int*, int*)'
/usr/bin/ld: grader.c:(.text.startup+0x113): undefined reference to `updateX(int, int)'
/usr/bin/ld: grader.c:(.text.startup+0x16d): undefined reference to `updateY(int, int)'
collect2: error: ld returned 1 exit status