always compile previous file

i've been doing c++ in multiples files/headers( 3 files in same time). but when i try to compile and run, it can be compile but the command prompt always run the previous files.
What are you using to compile? What are you using to run?

Topic archived. No new replies allowed.