How to prevent output screen from disappear in Visual Studio 2013 C++ Compiler

Viewed 98207

I just downloaded Visual Studio 2013. When I compile C, it doesn't show me my output. The output screen will show up for a brief second and then disappears.

#include <stdio.h>

int main()
{
    printf("hi");
    return 0;
}

"The program '[5688] Project1.exe' has exited with code 0 (0x0)." I know my code works and run correctly except I just can't make the output screen stay on without exiting after a second.

10 Answers

You can also hold CTRL + F5 to get the window to stay open.

Related