Overview
This week will add our first object data type by studying C++'s string type.
Thursday, September 25th
Classwork
Today we will finish discussing Chapter 7: Strings and learn how to read and write data to files.
We left off last class at
string
s are mutable. I'll leave the next section,
Other string member functions for you to explore on your own.
Let's talk about Getting user input, File I/O and String of digits to int.
Homework
Complete the exercises in both Chapter 7 Exercise Set 0: Chapter Review and Chapter 7 Exercise Set 1: CPE Practice to be prepared for a quiz on this material at the beginning of class next Monday.
Monday, September 23rd
Classwork
We will begin class with a quiz based on Chapter 6 Exercise Set 1: CPE Practice.
We will then discuss Chapter 7: Strings. We will introduce member functions and talk about our intentional use of C++ strings to introduce Object-oriented programming.
This chapter introduces a number of ideas that will be new to most of you, so we may need to spend additional time on it. We'll let the quiz results on Thursday guide us, keeping the possibility of a second quiz on chapter 7 available if we feel we need it.
Homework
Complete the exercises in Chapter 7 Exercise Set 0: Chapter Review and Chapter 7 Exercise Set 1: CPE Practice in preparation for a quiz based on these questions at the beginning of class on Thursday.