i am trying to make my menu system pause so that users can read the screen before the menu system loops back up.
Code:
int main(int i){
int x;
x=1;
do
{
book dbase;
savei savey;
dbase.open(i);
}
while(x=1);
return(0);
};
this is the loop that main is in,
Code:
choice=getchar();
choice=toupper(choice);
switch(choice) {
case 'A': {
cout<<"You selected find a book\n";
cout<<" Please enter the name of the book";
break;}
case 'B': {
cout<<"You selected find an Author\n";
break;}
case 'C': {
cout<<"You selected find a publisher\n";
break;}
case 'D': {
cout<<"You selected to find a Year\n";
break;}
case 'E': {
cout<<"You selected To find books with CDROMS\n";
break;}
this is part of the case selection for the menu system.
Im sure there is a very simple function to pause it for a small amount of time, but i cant see it! i have tried a few home made methods but they dont work.
Any help would be gratefully recived
Thanks
Black_Solitare