So, I am trying to access and use a class that is in a different file to avoid too much clutter in one file. However, my code keeps getting the following error in Codeblocks: error: no match for call to '(World1) (SDL_Renderer*&, SDL_Texture*&, SDL_Joystick*&)'
is there by chance # includes in your .cpp files that are needed but "unseen at this point in the compiling process" when you only include the .h files? Looking only at the libraries that it is mad about?
Are you saying to include the libraries? I have those in the "game.h" file. I would think that the opposite would be true, where I need to include them less. However, the guard words should stop anything from happening if I include things too much, I would think.
Edit: It seemed to work when I just used a default constructor.