News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Default directory for files when no full path is given

Started by rudolf128, January 02, 2019, 06:13:38 AM

Previous topic - Next topic

rudolf128

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.

rudolf128

To make it clear, if I write for example: fopen("foo.txt", ...), which is the default directory for "foo.txt"?

oBFusCATed

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!]