lect01 Before Slides | lect01 Annotated Slides | Next Lecture |
Code from lecture
https://github.com/ucsb-cs16-sp17/lectures/tree/master/0403
Topics
Course logistics
Main takeaways:
- Explore the course website and READ the syllabus
- Get to know your mentor and ask about how to use Piazza for future communication
- 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 and standard error with cin, cout, cerr
- 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)
-
Choosing an editor (vim or emacs)- may the best editor win!
- If time permits (git)