<< thread split from here>>
# include <iostream>
#include<iomanip>
# include <string>
#include<fstream>
#include<cctype>
#include<conio.h>
#include<windows.h>
using namespace std;
struct Name
{
string Fname;
string Lname;
};
struct date
{
int D;
string M;
int Y;
};
struct patient
{
int PID;
Name Pname;
string age;
string address;
string tel;
date DOB;
string gender;
};
//==================================================
void main()
{
patient myclass[20];
void menu ();
void addnew_patient (patient a[20]);
void modify (patient a[20]);
void search (patient a[20]);
void Display (patient a[20]);
void delete_patient (patient a[20]);
void delete_patient (patient a[20]);
int select;
string username;
string password;
cout << endl << endl;
cout <<