Lecture 1 | Next Lecture |
Lecture 1, Tue 06/25
Course overview, a gentle intro to C++ - Standard I/O
Code from lecture
https://github.com/ucsb-cs16-m19/code-from-class/tree/master/06-25
Topics
Course logistics
- Explore the course website and READ the syllabus
- Ask questions about the course on Piazza (don’t send emails to TAs and instructor)
- If you email the instructor have [CS16] and a brief description of your question
Concepts
- Structure of a C++ program
- the main function
- namepsaces and include directives
- commenting your code
- standard input, standard output with cin, cout
- The three stages of writing and executing C++ code: editing, compiling, (linking and) executing
- Five components of a computer and why it matters
- Compiling code with g++
- Finding your way around with basic unix commands - mkdir, ls, cp, mv, rm (use with caution because it deletes files irrecoverably)
- Choosing an editor (vim or emacs)- may the best editor win!
- Remote login with ssh
- High level introduction to tools: gradescope, github