No user input into the terminal in Visual Studio Code

Hey guys, brand new to C++. For some reason I can’t input anything into the terminal in Visual Studio Code and was wondering why? I tried re-installing the program and rewriting the code again to make sure there weren’t any errors. I uploaded a screenshot to show where I left off at. Would greatly appreciate the help guys!

If you have an antivirus it could be terminating the program when it gets to that line. Try compiling with /Zi which puts the debug information in a separate files which tends to play nicer with antiviruses

cl triplex.cpp /Zi
2 Likes

I looked online before coming to the forums and couldn’t find a solution that worked. Thank you so much !!! you are awesome!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.