image subdirectory in c++ -


Actually, I expect to keep my files sorted instead of having everyone in the same folder as my executable It was difficult to reference files in sub-folders relative to my executable, but it was proven difficult.

  // Definitions # define IMAGE_BACKGROUND "\\ content \\ image \\ background.bmp" #define FONT_MAIN "\\ content \ \ font \\ sai.ttf"  

The above code does not work clearly. I think the estimated logic [0] has somehow read my way? Anyone care a bit more detailed?

  int main (int argc, char * args []) { 

I should mention that this is a great library that can help you.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -