User forums > Using Code::Blocks

How can I choose which file I want to run (SOLVED)

(1/1)

undostres2411:
Hello everyone,

Whenever I open two projects at the same time, the program doesn't let me run the first one. I'll give you an example:



In this case, I have two different projects with two different files, nave.cpp and main.cpp. Since main.cpp is the one I opened the second, whenever I run one of the two .cpp the CMD shows the .exe related to main.cpp. So if I want to run nave.cpp, I can't.

How can I choose which one of the two files I want to run?

Thanks in advance! ;)

ollydbg:
In the project browser tree, just "active" the project by context menu. This can make the active project switch.

undostres2411:
Thank you! Problem solved.

Navigation

[0] Message Index

Go to full version