CIS 181 Intro to Comp Sci
Class 16, April 7, 2005

ASSIGNMENT:

Read: D&D, through  p. 445 (through 6.14).

Exercises due Tuesday, April 12, P. 398-399 -- 5.35 -- create pig latin sentences..


UNIX TIP OF THE DAY:

??


TODAY'S TOPICS
  1. Go over the homework and more on strings, pointers, character arrays and their relationships. See ~mccoy/Class/cisc181/examples/str-name-change.cc.
  2. Taking the example a little further -- write a program that reads in a number of names (each on a line) and then makes them "last name first" and prints them out.  See ~mccoy/Class/cisc181/examples/str-fn-name.cc
  3. String manipulation functions.
  4. Another example -- exercise 5.33 in book -- random sentence generator.
  5. Introduction to C++ Struct