Table of Contents
- C++ References
- CS 11 Review
- CS 15 Course Resources
- Course Materials
- Style Guide
- Tips for Success
- Office Hours Guide
- FAQ
- File I/O review
- unit_test Documentation
- System Setup: Terminal, SSH, and VS Code
C++ References
Programming in C++ is not easy! There are many intricacies and details of the language that, simply put, take time and effort to understand. But fear not! We are here to help you succeed. Please see the following review material for specific notes on common sticky points. As always, ask questions on piazza and in office hours!
-
http://www.cplusplus.com/
is a great general reference resource- Good place to look up information on data structures and classes in libraries you haven’t worked with much
- Make sure you use the c++11 set of functions if that option is there (under member types)
- The member functions section has any functions you have access to within that class. Clicking on a given function will lead you to information specific to using that function (parameters, returns, expectations etc.) as well as an example use.
-
https://www.cppreference.com/
is another reference site similar to the one above. This is a little less beginner-friendly and might be harder to navigate but has much of the same information -
https://learnxinyminutes.com/docs/c++
is a site that is a good general language overview with examples. It is more geared toward someone who is not familiar with C++ syntax but has the conceptual understanding and programming background from another language. This will not tell you how to use specific classes, data structures or functions, but rather provides a “translation” of how a given task is done in C++
CS 11 Review
I've included links below to five lectures I taught for CS 11 in Summer 2020. They cover some of the more complex topics related to programming in C++. Each link is to a zip file on Google Drive, and each zip file includes: a series of video recordings of each lecture, a PDF slide deck, and some associated code for the lecture. You may find these helpful for review.Note: Some of the code used in the lectures may not be up-to-date with the CS 15 style guide. When it comes to questions of code style, always reference the Style Guide (linked below).
- Lecture: Structs
- Lecture: Pointers 1
- Lecture: Pointers and the Heap
- Lecture: Classes
- Lecture: Interface and Implementation
CS 15 Course Resources
There are a number of reference resources that provide supplemental or required reading for topics throughout the course.Course Materials
- Classes, Data Abstraction, and Representation Invariants
- File I/O
- Makefile handout. Much of the same information is packaged as a tutorial in this Makefile.
- Brief summary of C++ declarations and references, including reference parameters.
- A brief guide on diff testing.
- CS 15 Pair Programming Guidelines