//This file is main.C. #include #include #include "field.h" using namespace std; int main() { field first, middle, last; cin >> first >> middle >> last; cout << first << ", " << middle << ", " << last << "\n"; const string s = first; //const string s = first.operator string(); field f; while (cin >> f) { //while (operator>>(cin, f).operator void *()) { cout << f << "\n"; } return EXIT_SUCCESS; }