Learning C++ for ICT Hands On Examination
sources:
install compiler
$ sudo apt get update
$ sudo apt-get install build-essential gdb g++
check your compiler version
$ g++ --version
$ gdb --version
install snap
$ sudo apt-get install snap
install vscode using snap
$ sudo snap install --classic code
install the extension
- open vscode.
- select the extensions view icon on the activity bar or use the keyboard shortcut (ctrl+shift+x).
- search for 'c++'.
- select install.
after you install the extension, when you open or create a *.cpp file, you will have syntax highlighting (colorization), smart completions and hovers (intelliSense), and error checking.