M
M
Mago m2020-11-22 09:56:28
visual studio
Mago m, 2020-11-22 09:56:28

C++. How to not display process termination in console?

5fba0ac498166984290930.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir S, 2020-11-22
@magggi

To automatically close the console when debugging stops, enable the "Tools" -> "Options" -> "Debugging" -> "Automatically close the console when debugging stops" option.

A
Alexey, 2020-11-22
@resolut1123

It is necessary to register at the end of the program. Then you need to assemble the solution, because inside the IDE the console is held and, as far as I know, it is not even closed with exit(0) commands. If you have Visual Studio, Click on "Build - build solution", then go to the project folder and the exe file of your program will be in Debug. system("pause");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question