Update DBApp.cpp
This commit is contained in:
parent
85b00fc497
commit
948224c1a0
1 changed files with 0 additions and 47 deletions
47
DBApp.cpp
47
DBApp.cpp
|
@ -37,51 +37,4 @@ int main()
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
void yourAccount()
|
||||
{
|
||||
cout<<"name: yourName"<<endl;
|
||||
}
|
||||
|
||||
void mainMenu()
|
||||
{
|
||||
cout<<"***************"<<endl;
|
||||
cout<<"** Main Menu **"<<endl;
|
||||
cout<<"***************\n\n"<<endl;
|
||||
cout<<"1. Your account"<<endl;
|
||||
cout<<"2. Boards"<<endl;
|
||||
cout<<"3. Messages"<<endl;
|
||||
cout<<"4. Groups\n"<<endl;
|
||||
cout<<"Enter choice: ";
|
||||
int choice;
|
||||
cin>>choice;
|
||||
if (choice == 1)
|
||||
{
|
||||
yourAccount();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
cout<<"***************************************"<<endl;
|
||||
cout<<"Welcome to our BBS "<<endl;
|
||||
cout<<"***************************************"<<endl;
|
||||
|
||||
cout<<"** Enter BBS **"<<endl;
|
||||
cout<<"1. Login";
|
||||
cout<<"2. Request new account\n\n";
|
||||
cout<<"Enter choice";
|
||||
int choice;
|
||||
cin>>choice;
|
||||
|
||||
|
||||
if (choice == 1)
|
||||
{
|
||||
mainMenu();
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
|
|
Reference in a new issue