Code::Blocks Forums
User forums => Help => Topic started by: rooftopz on October 28, 2016, 09:12:06 pm
-
where do files go that were created in code blocks? i was told files would be in the same directory as the project, but it is not. I'm on a mac, if that makes a difference. how can i change this?
-
what files? The binary files? They should be in a sub folder of your project folder... You can see and set it under
Project->Properties->Build targets->Output filename
greetings
-
its just a file that the program can write things to, but they're not created in the same directory. i had to use spotlight to find it, it was in the home directory, so the only way to find it was through using spotlight. I'm not using a project, its just an empty file. do you know how to change default settings for i/o files?
-
codeblocks is not made to work without projects. I don't know any way, or even the behavior of the working directory if you don't use projects....
If you use project you can set the working directory here:
Project->Properties->Build targets->Execution working dir