24.8 Case Study: File Merge Sort (cont.)
Notes on implementation - Phase I
- Generator used to initialize a vector of words from stdin
- Function object WordGen written to do this
- Returns empty string on end of input
- sort
- unique
- Copy results to temporary file
- temp_name returns temp. file name
- copy, with output iterator, to write file
prev
|top
|next