i read the tutorial, but im having a little trouble grasping it.
if i have
1 2 3 4 5 6 7 8 9 10 11 12
cout<<"If Booked 2 weeks in advanced, 3% off lodging only"<<endl;
addBooking addMenu;
cout<<"Please enter book name:"<<endl; //enter book name
reservationFile<<addMenu.bookName; //write book name to reservationFile file
cin>>addMenu.bookName;
cout<<endl<<"please enter toady's date(yyyymmdd):"<<endl; //enter current date
cin>>addMenu.currentDate;
reservationFile<<addMenu.currentDate; //write current date to reservationfile
cout<<endl<<"please enter start date:(yyyymmdd)"<<endl; //enter start date
cin>>addMenu.startDate;
reservationFile<<addMenu.startDate; //write start date to reservationfile
how would i go about putting in code to read what was entered?