-
Delayed cin?
Is it possible to make input with delay?
If I have something like this:
Code:
void Bill()
{
int choice;
cout<<"*******************************************************************************"<<endl;
cout<<"* 1. Bill 2. Searching bill 3. All bills 4. Change bill *"<<endl;
cout<<"*******************************************************************************"<<endl;
cout<<"*Choice :*;cin>>choice;cout<< *"<<endl;
cout<<"*******************************************************************************"<<endl;
}
It's only small fraction only to "show" what I'd like to know and accomplish.
Basically I'd like to print everything out and then give user the choice to fill what he wants.
What I wouldn't like is to "cout" everything till "cin" gets and then "cout" rest of "graphic".
-
What you want to do is platform specific, because standard C++ with cin and cout does not let you do that. Look up adrianxw's tutorial on the console, I believe that has information on how you can do this kind of stuff, assuming your platform is covered.
-