1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main(){
int op,fn,mn,ln,a,dob,cb,ad,fnn,mnn,lnn,an,dobn,cbn,adn;
cout<<"Welcome to 'The People Database'\n\a";
cout<<"This database will allow you to look up a person information by\n";
cout<<"Name, Age, Date of Birth (or DOB), City Born, and Address, or Insert a name. If you have a security passowrd\n";
cout<<"please enter it when asked. Now choose an option to look someone up by: ";
cout<<"1) First Name\n ";
cout<<"2) Middle Name\n ";
cout<<"3) Last Name\n ";
cout<<"4) Age\n";
cout<<"5) DOB\n";
cout<<"6) City Born\n";
cout<<"7) Address\n";
cout<<"8) Insert a New Name (Need Security Key)\n";
cin>> op;
cin.ignore();
if (op == 1) {
cout<<"Enter their first name: \n";
cin>> fn;
cin.ignore();
if (op == 2) {
cout<<"Enter their middle name: \n";
cin>> mn;
cin.ignore();
class People
{
public:
private:
};
void main()
{};
|