CS 112 - Week 1 Lab - 2022-08-26 TODAY WE WILL * announcements/prep for next class * complete the letter_match example * Week 1 Lab Exercise * if desired: Savitch Chapters 1-5 have useful discussions of many of the C++ topics we are quickly reviewing/"overviewing" here Savitch Chapter 12 goes into separate compilation (but then goes into advanced stuff...) * Hope to have HW 1 posted sometime this weekend -- I will send a class email when it is available ===== * separate compilation (and see Stroustrup quote posted with today's notes) so, a program using separate compilation often has each function implemented in 2 files, * a header file, whose suffix is .h * a source code file, whose suffix is .cpp * and the main function often is in its own .cpp file There are templates for these on the public course web site. * ONCE you have all of your .cpp and . h files, how do you compile them/compile,link,load them? you CAN do this in one fell swoop: g++ all-the-.cpp-files-involved -o desired-executable-name