Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: rudolf128 on January 02, 2019, 06:13:38 am

Title: Default directory for files when no full path is given
Post by: rudolf128 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.
Title: Re: Default directory for files when no full path is given
Post by: rudolf128 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"?
Title: Re: Default directory for files when no full path is given
Post by: oBFusCATed on January 02, 2019, 11:22:36 am
Project -> Properties -> Build targets -> Your target -> Execution working dir