If you run without debugging (Ctrl+F5) then by default it prompts your to press return to close the window. If you want to use the debugger, you should put a breakpoint on the last line.
More Related Contents:
- Simple C scanf does not work? [duplicate]
- How to read a line from the console in C?
- Custom text color in C# console application?
- Difference between scanf and scanf_s
- Erase the current printed console line
- How do you clear the console screen in C?
- __attribute__((constructor)) equivalent in VC?
- How to overcome Stack Size issue with Visual Studio (running C codes with big array)
- Does Visual Studio 2017 fully support C99?
- What is the official status of C99 support in VS2013?
- Which compiler should I trust?
- Having the output of a console application in Visual Studio instead of the console
- getopt.h: Compiling Linux C-Code in Windows
- Getting terminal size in c for windows?
- How to merge two windows vc static library into one
- How to build x86 and/or x64 on Windows from command line with CMAKE?
- Determining Stack Space with Visual Studio
- error C4996: ‘scanf’: This function or variable may be unsafe in c programming
- How to loop a Console App
- Does Microsoft visual studio 2010 support c99?
- Read input.txt file and also output.bmp file from terminal (C-programming)
- How do I print to the debug output window in a Win32 app?
- Which C99 features are available in the MS Visual Studio compiler?
- Unresolved symbols when linking a program using libcurl
- Pointer arithmetic when void has unknown size [closed]
- log2 not found in my math.h?
- how to use gettimeofday() or something equivalent with Visual Studio C++ 2008?
- What is the default generator for CMake in Windows?
- Is there any option to switch between C99 and C11 C standards in Visual Studio?
- How do I get the assembler output from a C file in VS2005