Author Topic: default save locations for written files  (Read 7007 times)

Offline rooftopz

  • Single posting newcomer
  • *
  • Posts: 2
default save locations for written files
« 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?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: default save locations for written files
« Reply #1 on: October 29, 2016, 02:55:32 pm »
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

Offline rooftopz

  • Single posting newcomer
  • *
  • Posts: 2
Re: default save locations for written files
« Reply #2 on: October 30, 2016, 10:26:45 pm »
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?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: default save locations for written files
« Reply #3 on: October 30, 2016, 10:35:48 pm »
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