diff options
| -rw-r--r-- | num1.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -44,15 +44,17 @@ void GatherStrings() getline (cin, usr_data); array[limit] = usr_data; limit += 1; - cout << "\n\nEnter 1 to add another string to the data base." << endl; + cout << "\n\nEnter [1] to add another string to the data base." << endl; cout << "OR" << endl; - cout << "Enter 0 to stop and see all the entries we have so far: "; + cout << "Enter [0] to stop and see all the entries we have so far: "; cin >> flag; ClearBuffer(); } - - cout << "\n\nThis is what we have in our database so far...\n\n" << endl; - + + cout << "==================================================================\n"; + cout << "This is what we have in our database so far..." << endl; + cout << "==================================================================\n"; + while (i < limit) { cout << array[i] << endl; |