lect01 Slides | Next Lecture |
Code from lecture
https://github.com/ucsb-cs16-s19-nichols/code-from-class/tree/master/04-02
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