![]() 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. ![]() Select the Extensions view icon on the Activity bar or use the keyboard shortcut ( ⇧⌘X (Windows, Linux Ctrl+Shift+X)).Ĭ++ is a compiled language meaning your program's source code must be translated (compiled) before it can be run on your computer.When you create a *.cpp file, the extension adds features such as syntax highlighting (colorization), smart completions and hovers (IntelliSense), and error checking. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |