Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: undostres2411 on May 06, 2016, 03:32:28 pm

Title: How can I choose which file I want to run (SOLVED)
Post by: undostres2411 on May 06, 2016, 03:32:28 pm
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:

(http://s2.subirimagenes.com/imagen/previo/thump_9577891captura.png)

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! ;)
Title: Re: How can I choose which file I want to run
Post by: ollydbg on May 06, 2016, 03:48:36 pm
In the project browser tree, just "active" the project by context menu. This can make the active project switch.
Title: Re: How can I choose which file I want to run
Post by: undostres2411 on May 06, 2016, 04:42:24 pm
Thank you! Problem solved.