News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

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

Started by undostres2411, May 06, 2016, 03:32:28 PM

Previous topic - Next topic

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.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

undostres2411