Whenever I use cl triplex.cpp it shows it is not a external or internal command or it shows that it is not a file or directory.Please help.I also tried the developer command prompt.
You need to open Code uising the developer command prompt and you aren’t in the correct directory in the terminal.
If you look to where you saved the file it’s in
C:\Users\Nitya Gupta\Documents
whereas your terminal in VS Code is in
C:\Users\Nitya Gupta
and the Developer Command Prompt is in
C:\Users\Nitya Gupta\source\repos
From VS Code you would just need to type cd Documents
whilst your other one would need cd C:\Users\Nitya Gupta\Documents
or cd ..\..\Documents
(… means go up one directory)
Thanks
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.