SFML community forums

Help => General => Topic started by: Bonediggerninja on November 19, 2017, 08:52:44 am

Title: Using Partial filenames
Post by: Bonediggerninja on November 19, 2017, 08:52:44 am
just a simple question, how would I program opening an image from a folder which is in the directory folder? Or for a file somewhere else?"
Title: Re: Using Partial filenames
Post by: eXpl0it3r on November 19, 2017, 12:47:10 pm
Directory and folder are synonyms, what do you mean by "directory folder"?

If by partial paths you mean relative paths, then you can simply use the relative path to open something. The important part to remember is that the relative path by default is the working directory.