CPS 6, Ramm - Spring 2000 - 3/3/00 #19
Chap 8. Arrays, Data, & Random Access
- Vector Parameters
-
letters.cpp
- char type
- functions tolower(char), isalpha(char)
- get(char) member function
- fail() member function
- A Draft Word in Context Program
-
context.cpp
- Redesigning a Word in Context Program
Redesign in Classroom
-
context2.cpp
- What if File is Too Large?
- Advantage of Vector Class: Resize
-
.resize(int size)
member function
- Copying/Cost: Memory and Time
- Double It!
-
.capacity()
member function
-
context3.cpp
- How to Solve Problem Without Vectors?
- Trailing Variables
- Limited Search
- or Reread File