/* ___________________________________ D A T A E N T R Y P A R T 1 Simple Console Read/Write Demo Ron Kessler Created 12/28/2016 This shows how to get user input and then show the information they typed in BE SURE TO RUN WITHOUT DEBUGGING SO USE CTL-F5 */ #include "stdafx.h" //---add these #include //to let us read/write to the screen #include //for working with Text/String data using namespace std; int main () { string user_name; //create a place in RAM to hold their name cout << "Please enter your name: "; //prompt user for input cin >> user_name; //read their response cin.ignore (); //clear the keyboard buffer/memory cout << "Hi " << user_name << "\n"; //display output return 0; //tell computer to end the app }