Week 7
Monday
Return Exam 2
c-Style strings
cin >> s;
ingnores leading whitespace
no bounds checking
stops reading at first whitespace
 
cin.getline(s, n);
reads whitespace
bounds checking
          
string s2;
cin >> s2;
getline(cin,s2);
 
char pointer vs int pointer with cin and cout
imput stream, buffer
 
Assign Homework
Read Schaum's Chapter 8
 
 
Tuesday
writing our own string functions
   stringCopy
   stringAppend
   stringLength
   stringReverse
   stringContains - char and c string
 
Assign Homework
 
Wednesday
more string functions
parse - aka tokenizing
delimiter
token
lexicographic comparison
 
Assign Project
Pig Latin (Due Wednesday, week 8)
 
Thursday
Friday
NULL vs null terminator vs false vs 0
pointers
strchr, strstr, strncpy, firstVowel, toupper