Compiler not working

i am new to vs code so i can’t figure this out ,anyone help me its showing as following
PS C:\developing\tripleX.cpp> cl tripleX.cpp
cl : The term ‘cl’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • cl tripleX.cpp
  • ~~
    • CategoryInfo : ObjectNotFound: (cl:String) , CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

what do i do

and also i can’t run it with code runner

Did you open VS Code through the developer command prompt?

no

You need to.

you mean this sorry man i don’t know what i am doing this is my first time on vs code


i open it up from the vs code app

You need to open it via the developer command prompt by typing in “code”.

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