User forums > Help
Running inside the IDE
(1/1)
KodeNerd:
I am currently running Code::Blocks and am developing a program that requires access to files. I am accessing these files relative to the working directory however the working directory is not the same directory as my executable when I run it from Code::Blocks. This gives me problems when I require debugging. Is there some way I can change back the working directory to the same as the executable (preferably through a Code::Blocks setting, though I am willing to edit something in my program to achieve the results I need). Thank you.
George Gough
TDragon:
Project / Properties / Build targets -> [your target] / Execution working dir.
KodeNerd:
Thank you. I thought I set those.
George Gough
Navigation
[0] Message Index
Go to full version