CS 201

Mon Aug 26 -- Syllabus stuff, including how to turn in programs. Meet neighbors. Define cheating. Late policy. What assignments will look like. Install visual studio http://philos.nmu.edu/Repository. Remember, it's a "Visual C++ CLR Console Application". Compare Java and C++ Hello worlds at http://euclid.nmu.edu/~rappleto/Classes/CS201/CodeExamples/HelloWorld/. Show off debugger. Count down from 10 .. 1 a loop and using recursion.
Wed Aug 28 – Types. Programs I write. string. getline. String length. Last char of a string.
Fri Aug 30 -- Recursion
Wed Sep 2 -- Basic cout including reading from strings!. cout formatting. Does it have an A. Count the 'a'.s Print the non-A's. Sum the digits. Convert a digit to an int. Show code around.
Fri Sep 6 -- file input. How to catch file open errors. exit. using getline or get. Count the characters. Count the letter 'a's. Writing a file with ofstream Copy the file.
Mon Sep 19 -- seek, tell, good, bad, fail, binary files.Example with a binary file.
Wed Oct 23 --
compy constructor and assignment operators.
Mon Oct 28 -- Scope and pointers thing. A-Ray operator overloading and copy constructors and operator= and destructors. Practice quiz (topics: &, default arguments, recursion, copy constrctors, operator=, opening a file, getting a word/char, etc)
Wed Oct 30 -- Practice quiz. quiz and answers. copy constructors and operator=
Fri Nov 1 -- QUIZ
Mon Nov 4 -- Start linked lists
Wed Nov 7 -- Linked list problems
Mon Nov 18 -- Linked List Assignment. (What pop_ing an empty list does (source 1 and source 2). The four types of linked lists. Run time costs in speed and memory. Compare to deque and a normal array.
Mon Dec 2 -- Header files. Advatages include code hiding and easier compiling. Inheritance
Wed Dec 4 -- Review for final exam!Final exam from 2015