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

preview_player
Показать описание
In this tutorial we're going to talk about that how to prevent console window from closing in visual studio for c and c++.
Рекомендации по теме
Комментарии
Автор

Don't forget to subscribe to our channel.

nevsky.programming
Автор

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)

SuperNicothebest
Автор

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

TuanTran-ylcl
Автор

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

isacnewton
Автор

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

zanjeeltariq
Автор

Thank you man you are a beast you helped me a lot thank you

heyhey
Автор

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

zany
Автор

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.

brandonkoebbe
Автор

how to do this in visual studio 2017 pls

pratham
Автор

the problem is theres no properties when i right click my project

markrafaelsingga
Автор

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"

scubasky
Автор

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

Entertainment-blqv
Автор

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"

ВладимирМалиновский-гя
Автор

visual studio seized up for 45 seconds... again.

vännens
Автор

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

tigreblanco
welcome to shbcf.ru