=====
CS 111 - Week 9 Labs - 2026-10-23
=====
=====
TODAY WE WILL:
=====
* announcements/prep for next class
* another bit about string class' + operator, and
a few more string methods
* review clicker questions
* Week 9 Lab Exercise
=====
* Should be finishing up Homework 7! (at-least-first attempts
due by 11:59 pm TONIGHT)
* Will send class e-mail when Homework 8 is available
* SPRING 2027 schedule is now posted --
Early Registration for Continuing Students for Spring 2027 is Nov 9-20,
(look for your Spring Registration Appointment on the far-RIGHT
of your Student Center)
* GOOD idea to touch base with your Advisor and make sure your
Spring schedule will keep you on track for graduation!
* PLEASE register during early registration!
=====
* NOTE the posting "A small selection of useful C++ string class methods"
linked with today's lab exercise!
* NOTE: string class + operator also works to append a string
object and a char
* char and char* are actually quite different types
"under the hood", but string's + operator
can append a char to a string
* a_string + a_string // that's fine!
* a_string + "moo" // also ok!
"moo" + a_string // also ok!
* a_string + 's' // turns out this is also fine!
's' + a_string // also ok!
NOT OKAY: 'm' + "oo" // that's char and char*
NOT OKAY: 'm' + 'o' // that's char and char
NOT OKAY: "m" + "oo" // that's char* and char*