CS140 -- Lecture Notes


For C++ reference material, see http://www.cppreference.com/ or www.cplusplus.com. These are excellent sources of online reference and tutorial material for C++. If you need a book to help you with C++, try "Teach Yourself C++", 3rd Ed., Herbert Schildt." -- one cent from Amazon.

Date Online Notes Textbook Reading Online Lectures
Jan. 8 Unix, vi, files and compiling---Lecture
Jan. 13 Ch 1.1-1.3--ignore pointers Lecture
Jan. 15 String and Vector Basics---Lecture
Jan. 20 Ch 1.4 Lecture
Jan. 22
  1. Vectors of Vectors
  2. Procedures
--- Lecture
Jan. 27 Strings in more detail Ch1.5
Jan 29The roster.cpp example: Classes, multiple files, constructors, new, HTML, randomizing an array.Ch 1.5Lecture
Feb 3, Feb 5 HashingCh9.1-9.2
  1. Lecture 2/3
  2. Lecture 2/5
Feb 10, 17 Pointers, and setting up data structures that share data using pointersCh1.1.3
  1. Lecture 2/10
  2. Lecture 2/17
Feb 12Midterm 1 Lecture 2/17
Feb 19, 24 Lists, Iterators, Bad Vector Usage, DequesCh 5.3.1-5.3.2 & Ch 6
  1. Lecture 2/19
Feb 26, Mar 3 Sets and Maps Ch 9.1-9.3, Ch 11.4
  1. Lecture 2/26
Mar 5 Ch 4, Ch 9.5 Lecture 3/5
Mar 10, 24 Linked Data Structures: Stacks, Queues and Doubly Linked ListsCh. 5
Mar 12Midterm 2
Mar 26 Recursion---Lecture 3/26
Mar 31 A Recursive Sudoku Solver---Lecture 3/31
Apr 2, 7 The basics of Trees, and basic Binary Search TreesCh 7 & Ch 10.1
Apr 9, 14 Ch 10.2
Apr 16, 21 ---
Apr 23 Big-OCh. 4 Lecture 4/23