microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.51k stars 1.55k forks source link

the code will not run in terminal window #12829

Open mjeed02 opened 1 week ago

mjeed02 commented 1 week ago

hi im trying to run some c code but every time the terminal window that opened will not run the code the window is called "gcc build active file" it will not display any output or will except any input because the window will close

Build finished successfully.
 *  Terminal will be reused by tasks, press any key to close it. 

im using a macbook

sean-mcmanus commented 1 week ago

@mjeed02 It sounds like you're using a task to build, but then you're not launching the debugger or running the code.