1
General / How do I load relatively
« on: July 26, 2020, 03:41:07 pm »
Right now i am loading a texture from this directory:
arrow.loadFromFile("/Users/oliverswan/Desktop/SFML/Coin\ Flip/Coin\ Flip/arrow.png");
But I want to load from my project folder which is the first Coin Flip Folder. Help!
arrow.loadFromFile("/Users/oliverswan/Desktop/SFML/Coin\ Flip/Coin\ Flip/arrow.png");
But I want to load from my project folder which is the first Coin Flip Folder. Help!