Starting from Visual Studio 2017 (15.9.4) there is an option:
Tools->Options->Debugging->Automatically close the console
The corresponding fragment from the Visual Studio documentation:
Automatically close the console when debugging stops:
Tells Visual Studio to close the console at the end of a debugging session.
Related Posts:
- What are the differences between Visual Studio Code and Visual Studio?
- What are the differences between Visual Studio Code and Visual Studio?
- How to download Visual Studio Community Edition 2017 (not 2019)
- How to download Visual Studio Community Edition 2015 (not 2017)
- Why use conio.h?
- Why the range of int is -32768 to 32767?
- Awesomium sdk download
- How do you auto format code in Visual Studio?
- How to declare a global variable in C++
- Visual Studio doesn’t see Team Explorer
- Visual Studio error “Object reference not set to an instance of an object” after install of ASP.NET and Web Tools 2015
- How do I install a NuGet package .nupkg file locally?
- Cannot Connect to Server – A network-related or instance-specific error
- ERROR: Cannot open source file ” “
- Reading \r (carriage return) vs \n (newline) from console with getc?
- An error occurred while signing: SignTool.exe not found
- How to fix “Root element is missing.” when doing a Visual Studio (VS) Build?
- Check in / Check out in subversion
- C++ cannot open source file
- Why Visual Studio 2015 can’t run exe file (ucrtbased.dll)?
- Cannot open Visual Studio – throw error ‘cannot run when setup is in progress’
- Stuck while installing Visual Studio 2015 (Update for Microsoft Windows (KB2999226))
- %i or %d to print integer in C using printf()?
- Fresh installed Visual Studio 2017 won’t create C++ project with error 0x80041fe2
- This project references NuGet package(s) that are missing on this computer
- Source information missing from the debug information for this module – PDB successfully loaded
- Visual Studio – vdproj is incompatible
- Are Visual Studio 2017 Build Tools still available for download?
- What is vshub.exe in the system tray?
- serviceHub.Host.CLR.x86 taking a lot of memory and CPC
- Visual Studio Project vs. Solution
- How do you clear the console screen in C?
- Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt’ after installing Visual Studio 2012 Release Preview
- What does Visual Studio mean by normalize inconsistent line endings?
- Visual Studio 2015 Intellisense not working
- Is there a list of Visual Studio environment variables? [duplicate]
- “Are you missing an assembly reference?” compile error – Visual Studio
- Error HRESULT E_FAIL has been returned from a call to a COM component VS2012 when debugging
- The project type is not supported by this installation
- Simple C scanf does not work? [duplicate]
- Where can I read the Console output in Visual Studio 2015
- How do I open a Visual Studio project in design view?
- Visual Studio not displaying compile time errors in editor
- XML schema error – root element of a w3c xml schema
- Web Developer Tools option must be installed
- LINK : fatal error LNK1104: cannot open file ‘D:\…\MyProj.exe’
- Unable to launch the IIS Express Web server
- How can I rename a project folder from within Visual Studio?
- Visual studio Express Edition vs Community
- Visual Studio: Add existing folder(s) to project
- How big can a 64 bit unsigned integer be?
- The difference between n++ and ++n at the end of a while loop? (ANSI C)
- What is a segmentation fault?
- How many spaces for tab character(\t)?
- Implementing Taylor Series for sine and cosine in C
- Working on code to calculate cosine with factorial sum
- How to use execvp()
- How to use execvp() to execute a command
- How does strtok() split the string into tokens in C?
- warning: implicit declaration of function
- warning: implicit declaration of function
- Signing out from TFS and sign in with new credentials
- What is *(uint32_t*)?
- What does (~0L) mean?
- pthread_join() and pthread_exit()
- What is size_t in C?
- What is the difference between float and double?
- what is Segmentation fault (core dumped)? [duplicate]
- What causes a segmentation fault (core dump) to occur in C?
- uint8_t vs unsigned char
- How to use symbols of extended ASCII table in C?
- Two questions about basic C programs
- What is the difference between ++i and i++?
- Using boolean values in C
- What does “collect2: error: ld returned 1 exit status” mean?
- How to convert an int to string in C?
- typedef struct vs struct definitions [duplicate]
- How to print in C
- What is the effect of extern “C” in C++?
- Why should we typedef a struct so often in C?
- Why are #ifndef and #define used in C++ header files?
- Arrow operator (->) usage in C
- strdup() – what does it do in C?
- strdup() – what does it do in C?
- What is a string of hexadecimal digits?
- Why should we typedef a struct so often in C?
- What exactly is the difference between “pass by reference” in C and in C++?
- What is the difference between ++i and i++?
- What can be the reasons of connection refused errors?
- What does “collect2: error: ld returned 1 exit status” mean?
- How to convert an int to string in C?
- typedef struct vs struct definitions [duplicate]
- What is newline character — ‘\n’
- When to use extern “C” in simple words? [duplicate]
- Floating point exception( core dump
- Why does ENOENT mean “No such file or directory”?
- What does the question mark character (‘?’) mean?
- Cannot figure out how to use getchar(); in C
- Floating point exception (core dumped)
- Undefined reference to pthread_create in Linux