What I'm trying to do is tell my Object manager class to run its updateAll and RenderAll functions in the update function of my main game engine cpp file.
When I hover over it I get the error " Expected Identifier " and when I compile is I get a bunch of errors saying "Syntax error missing ';' before '.' "
I'm completely confused and I'm unsure how to fix this.
Is ObjectManager a class or an object?
If it is a class you can call its functions with ObjectManager::updateAll(); (given that the functions are static)
If it is an object then perhaps you created a pointer and meant to use -> instead of .