CS 112 today we will: * introductions * intro CS 112's "big idea" * basic course "structure" * review syllabus highlights * intro to public course web site and Canvas site * start overview/review of C++ * prep for next class ====== design recipe! ====== * and a cheesy example! * consider Wordle! (and potential helper functions that could help if you wanted to implement a version of some Wordle-like game) * I want a helper function that returns the color for a given letter position in a guess, based on the actual word-of-day * DESIGN RECIPE step 1: THINK about the kinds of data involved * position... integer, right? int <-- C++ C++ also has several other numeric types, we'll mostly use int and double <-- double-precision floating point * words? C++ has two "stringy" types, char* <-- old-style C-string string <-- modern string class Our preference will be to use the string class for "stringy" data! but when you put something in double quotes, "moo" "3" "true" <-- char* literals they CAN BE ASSIGNED to string variables!!!!!!!! * there's also a char type -- char a char literal is (one of syntaxes) in single quotes 'a' <-- a char whose value is the letter a * we'll continue with this example function, including the design recipe steps and C++ review/overview, and add an intro to separate compilation, on Thursday;