Delete DBApp.cpp
This commit is contained in:
parent
1dd7571292
commit
3c8228aa27
1 changed files with 0 additions and 40 deletions
40
DBApp.cpp
40
DBApp.cpp
|
@ -1,40 +0,0 @@
|
||||||
#include <string> // std::string
|
|
||||||
#include <iostream> // std::cout
|
|
||||||
#include <sstream> // std::stringstream
|
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
|
||||||
#include "Parser.h"
|
|
||||||
#include "DBEngine.h"
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
/*
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
cout << "**********************" << endl;
|
|
||||||
cout << "* Generic Restaurant *" << endl;
|
|
||||||
cout << "**********************" << endl;
|
|
||||||
cout << "- Login -" << endl;
|
|
||||||
cout << "1. Login" << endl;
|
|
||||||
cout << "2. Request new account" << endl;
|
|
||||||
cout << "Enter coice: ";
|
|
||||||
int n;
|
|
||||||
cin >> n;
|
|
||||||
string u;
|
|
||||||
string p;
|
|
||||||
switch(n)
|
|
||||||
{
|
|
||||||
case 1: cout << "- Login -" << endl;
|
|
||||||
cout << "Enter username: ";
|
|
||||||
cin >> u;
|
|
||||||
cout << "Enter password: ";
|
|
||||||
cin >> p;
|
|
||||||
// implement user database.
|
|
||||||
break;
|
|
||||||
case 2: cout << "Not implemented." << endl;
|
|
||||||
break; // not implemented.
|
|
||||||
default: cout << "Not an option." << endl;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
*/
|
|
Reference in a new issue