Code:
#include <iostream>
int main()
{
using namespace std;
cout<<"Lots of text, instructions, etc."<<endl;
cout<<"Lots of text, instructions, etc."<<endl;
cout<<"Lots of text, instructions, etc."<<endl;
cout<<"Lots of text, instructions, etc."<<endl;
cout<<"Lots of text, instructions, etc."<<endl;
cout<<"\nWhen ready, please press enter"<<endl;
cin.get();
cout<<"More text, instructions, etc, getting skipped."<<endl;
cout<<"More text, instructions, etc, getting skipped."<<endl;
cout<<"More text, instructions, etc, getting skipped."<<endl;
cout<<"More text, instructions, etc, getting skipped."<<endl;
cout<<"More text, instructions, etc, getting skipped."<<endl;
cout<<"\nWhen ready, please press enter"<<endl;
cin.get();
cout<<"Again, text, instructions, etc."<<endl;
cout<<"Again, text, instructions, etc."<<endl;
cout<<"Again, text, instructions, etc."<<endl;
cout<<"Again, text, instructions, etc."<<endl;
cout<<"Again, text, instructions, etc."<<endl;
cout<<"\nWhen ready, please press enter"<<endl;
cin.get();
}
If the user hits enter twice in succession, the second prompt is skipped. If they only do it once, then they have time to read everything in the second set of text. You want to know when they hit enter twice so fast that they can't read the instructions?