Member function may not be redeclared outside its class

Hi, im getting this error in the BullCow section. I saw some others had the error but i’m still not sure exactly what I need to fix. Heres a screenshot of the error and the line its telling me the error is on.

Edit: I changed InitGame to SetupGame, still getting same error. It wanted to open up 2 other files, I assume to change Init Game to setupGame as well but I got a visual studio error and cancelled it

Remove the semicolon at the end of line 40. Having it there is redeclaring the function which is causing the issue.

Wow, I was staring at what could be wrong with that forever. Thank you, that worked!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.