Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Using Partial filenames  (Read 839 times)

0 Members and 1 Guest are viewing this topic.

Bonediggerninja

  • Newbie
  • *
  • Posts: 10
    • View Profile
Using Partial filenames
« 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?"

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: Using Partial filenames
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/