I have a program that I split into two modules with a header.
I'm new to the whole modules/headers thing. I started to use it because my code is now > 300 lines and daunting to look at. I suspect it to get to > 800 lines, this helps in the long run.
Anyhow, when it works, it's all consolidated into one source file. When I give a header... I put all Class declarations in the header file. I include SFML/Graphics.hpp and any #defines I have for the program. The first source module has all the definitions for the class declarations, while the second has all the main function. It compiles but it spits out an error while trying to load an Image. What's bizarre about this error is that the name of the image is a directory + image.
Anyone know why this is happening?
Failed to load image "gameImages/Pong/b1.jpg". Reason : Unable to open file