![]() If you don't have a compiler installed, you can follow one of our installation tutorials: Otherwise, use the instructions in the section below to install a compiler. If neither are found, make sure your compiler executable is in your platform path ( %PATH on Windows, $PATH on Linux and macOS) so that the C/C++ extension can find it. The output should show you the compiler version and details. Or this command for the Clang compiler clang: clang -version Use the following command to check for the GCC compiler g++: g++ -version ![]() Open a new VS Code terminal window using ( ⌃⇧` (Windows, Linux Ctrl+Shift+`)) To check if you already have them installed: Check with your instructors or colleagues for guidance on installing the recommended C++ toolset (compiler, debugger, project system, linter).Ĭommon compilers that already come preinstalled on some platforms are the GNU Compiler Collection (GCC) on Linux and the Clang tools with Xcode on macOS. Note: There may already be a C++ compiler and debugger provided by your academic or work development environment. You need to install these tools or use the tools already installed on your computer. The C/C++ extension doesn't include a C++ compiler or debugger, since VS Code as an editor relies on command-line tools for the development workflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |