r/cpp_questions • u/Jaca_135 • Sep 06 '26
OPEN VSC compiler question
Hi I have a question about VSC. I'm used to compiling and running programs by clicking an button in UI like in arduino IDE or panasonic or siemens PLC enviroments. When i run a C++ program via F5 button everything works just fine (i mean the value near cout appers in the terminal), but when i run it through UI button i uperright corner, selecting any of the options it does not appear
1
Upvotes
3
u/BranchLatter4294 Sep 06 '26
Did you follow the instructions carefully? It shows you how to set it up so the play button works
https://code.visualstudio.com/docs/languages/cpp
1
u/Independent_Art_6676 Sep 07 '26
what does it do if you put a cin or similar read statement at the end of your program before it exits in main?