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
Post a Comment