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
- Go over the homework and more on strings, pointers, character arrays and
their relationships. See ~mccoy/Class/cisc181/examples/str-name-change.cc.
- 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
- String manipulation functions.
- Another example -- exercise 5.33 in book -- random sentence generator.
- Introduction to C++ Struct