12345678910111213141516171819
void new_entry (ofstream& fout) { char ans; open_out (fout); char name[NAME_MAX], number[NAME_MAX]; cout << "Enter name." << endl; cin.getline(name, 199); cout << name; cout << "Enter number." << endl; cin.getline(number, 199); fout << number << endl; fout.clear(); fout.close(); }
cin >>