User forums > Using Code::Blocks
Default directory for files when no full path is given
(1/1)
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
Navigation
[0] Message Index
Go to full version