Most likely you'll have to flush the output buffer. shifting in
std::endl usually does the trick:
std::cout << "TESTING" << std::endl;
That doesn't explain why the change you make to the code aren't showing up in your executable... unless they are also printing to console.
Ah std::endl does the trick.
I still think this is weird after the program has finished.