Lecture 1
Lecture 1
Lecture 01
Hongbo Liu
+
How to interact with computers effectively?
Programming Language
Express processor instructions in human understandable way
Portability
• C++ can be used to write programs for nearly any processor
C++ Advantages (cont’d)
High performance
Picture from
https://attractivechaos.github.io/plb/
C++ Advantages (cont’d)
High performance
Picture from
https://attractivechaos.github.io/plb/
C++ History
Windows setup
• Requirement: Windows 10
• Activate WSL following instruction
Terminal
Terminal
from Briana
Vim Introduction
Most famous editor must be learnt for Linux programming
• Have a plenty of shortcuts
vimtutor
• 25-30 minutes tutorial for basics of vim
Vim Tuitorial (cont’d)
Vim Tuitorial (cont’d)
A series of graphical cheat sheet-based tutorial from viemu
A series of graphical cheat sheet-based tutorial from viemu
A series of graphical cheat sheet-based tutorial from viemu
A series of graphical cheat sheet-based tutorial from viemu
A series of graphical cheat sheet-based tutorial from viemu
A series of graphical cheat sheet-based tutorial from viemu
A series of graphical cheat sheet-based tutorial from viemu
Compiler & Linker
Transfer sources to executable files
Comments
• // … or /* … */
• … are omitted by compilers