Author Topic: Default directory for files when no full path is given  (Read 2515 times)

Offline rudolf128

  • Multiple posting newcomer
  • *
  • Posts: 29
Default directory for files when no full path is given
« on: January 02, 2019, 06:13:38 am »
Question is: if you don't specify file names using their full path (example: fopen(E:\\myfile.txt", ...), which is the default directory where files are read from or written to?
Thanks.

Offline rudolf128

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: Default directory for files when no full path is given
« Reply #1 on: January 02, 2019, 06:19:56 am »
To make it clear, if I write for example: fopen("foo.txt", ...), which is the default directory for "foo.txt"?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Default directory for files when no full path is given
« Reply #2 on: January 02, 2019, 11:22:36 am »
Project -> Properties -> Build targets -> Your target -> Execution working dir
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]