Home » How to prevent console window from closing on Visual Studio C / C++ studio c technology

How to prevent console window from closing on Visual Studio C / C++ studio c technology

by LKJHGrTfghDgh



In this tutorial we’re going to talk about that how to prevent console window from closing in visual studio for c and c++. .

Images related to the topic studio c technology

How to prevent console window from closing on Visual Studio C / C++

How to prevent console window from closing on Visual Studio C / C++

Search related to the topic How to prevent console window from closing on Visual Studio C / C++

#prevent #console #window #closing #Visual #Studio
How to prevent console window from closing on Visual Studio C / C++
studio c technology
See all the latest ways to make money online: See more here
See all the latest ways to make money online: See more here

related posts

26 comments

nevsky.programming 24/09/2021 - 2:02 Chiều

Don't forget to subscribe to our channel.

Reply
Tuấn Trần 24/09/2021 - 2:02 Chiều

if its does not work:
u can try add
system("pause"); in main function (before return 0;)
hope it will helpfull

Reply
Entertainment 24/09/2021 - 2:02 Chiều

Sir i follow your all step of this video but my problem is not solved

Reply
limbonights 24/09/2021 - 2:02 Chiều

visual studio seized up for 45 seconds… again.

Reply
CipCop 24/09/2021 - 2:02 Chiều

guys if it doesnt work try this :
Ctlr+Fn+f5
this fixed the problem for me !

Reply
Yosef Aregahegn 24/09/2021 - 2:02 Chiều

Like it!

Reply
isac newton 24/09/2021 - 2:02 Chiều

Thx my bro..i was instaled my vs but can't using coz same problem…when i was this video my problem already solve..thxxxxxx

Reply
Vipul Jasrotia 24/09/2021 - 2:02 Chiều

Easy way write Console.Readkey();

Reply
Myriam 24/09/2021 - 2:02 Chiều

Thank you so much !

Reply
MadSant 24/09/2021 - 2:02 Chiều

What about visual studio 2019?

Reply
Raghunendra Singh 24/09/2021 - 2:02 Chiều

How to do this in code blocks 20.3

Reply
Diestri 24/09/2021 - 2:02 Chiều

my antivirus got mad and put the file into quarantine , should I turn off the antivirus?

Reply
pratham 24/09/2021 - 2:02 Chiều

how to do this in visual studio 2017 pls

Reply
zanjeel tariq 24/09/2021 - 2:02 Chiều

THANK YOU SO MUCH. I HAD THIS ISSUE FOR WEEKS. TOTALLY SUBSCRIBED TO YOUR CHANNEL!!

Reply
zanjeel tariq 24/09/2021 - 2:02 Chiều

THANK YOU SOO MUCH

Reply
Scuba Sky 24/09/2021 - 2:02 Chiều

Okay now how do i remove that whole chunk of useless path-output that shows every time i debug?

That whole "/Users/source/repos….blah blah"

Reply
Shinobi 24/09/2021 - 2:02 Chiều

So thanks

Reply
LIGeorgij7 24/09/2021 - 2:02 Chiều

ty

Reply
Niccolò Lucci 24/09/2021 - 2:02 Chiều

I had the same problem and this solved it. It can basically due to 2 things:
1) the one that the video says
2) the one that the ruski in the comment says (that is the same as when you see the terminal at the end of the video says to uncheck)

Reply
Ahmed Raafat 24/09/2021 - 2:02 Chiều

It didn't work wtf :3

Reply
Владимир Малиновский 24/09/2021 - 2:02 Chiều

The advice is wrong. You should do this: MSVC2017 -> Menu -> Debug -> Options -> Debugging -> General -> set or reset checkbox "Automatically close the console when debugging stops"

Reply
Felipeee 24/09/2021 - 2:02 Chiều

_getch();
return 0;
}
hacia lo mismo :V

Reply
Saurav Raj 24/09/2021 - 2:02 Chiều

thanks 🙂

Reply
svra kata 24/09/2021 - 2:02 Chiều

thanks!

Reply
Brandon Koebbe 24/09/2021 - 2:02 Chiều

I now have the newest version (4.7.03056) of Visual 2017 and "Linker" is no longer a selectable option.  Any ideas?  Your solution has worked for me every time in past versions.

Reply
primus 24/09/2021 - 2:02 Chiều

thank you

Reply

Leave a Comment