Updated to read recent struct.txt records which contain 6 fields.
Prepended std:: to iostream classes to satisfy g++.