Issues with visual studio code

When I got compile my code in visual studio, i get a weird message that won’t allow me to compile it, any help is appreciated

Update: I have changed my default shell to zsh which it said was required and i do not have anything like gavin has in the video that has the directory of where my file is saved

I need full window of vscode please

with the full window click on the dropdown right next to the zsh and then take a screenshot

I’m not sure what the issue is? You’ve opened the terminal to where you saved the file so all you need to do now is compile and then run the program

g++ "Triple X.cpp" -o TripleX
./TripleX

First line compiles the program and then the second one executes it. The program as written doesn’t do anything yet so there should be no output.

(The quotes are needed due to the space in the file name)

Thank you both for the help, I was able to fix the problem by downloading the code runner extension.

Privacy & Terms