SlideShare a Scribd company logo
1 of 7
//BLOOD BANK MANAGEMENT SYSTEM AS A DOUPLY LINK LIST PROJECT.
#include<conio.h>
#include<windows.h>
#include<iostream>
#include<math.h>
#include<string>
using namespace std;
struct node{
string name,gender,blood_grp,address;
int age;
long double cell_no,id;
node *link;
node *prev;
};
class logo{
public:
logo(){
}
void set(){system("color 3F");
Sleep(500);cout<<"nntttt
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB";
Sleep(500);cout<<"nntttt
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB";
Sleep(200);cout<<"nnttt WELL COME TO BLOOD
BANK MANAGMENT SYSTEM";
Sleep(500);cout<<"nntttt
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB";
Sleep(500);cout<<"nntttt
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB";
system("color 2B");}
void login(){
string pass = "hamza10";
string user ;
cout << "nttENTER YOUR PASSWORD TO THIS PROJECT ==::";
cin >> user;
while(pass !=user) {
cout<< "password is wrongn";
cout<<"Enter correct password";
cin >> user;
}
system("color 2F");
}
};
class blood{
private:
string name,gender,blood_grp,address;
int age;
long double cell_no,id;
int n,i;
node *start,*temp,*curr,*end;
public:
blood(){
start=NULL;
}
void insert(){
//cout<<"HOW MANY DONER GIVE BLOOD "<<endl;
//cout<<"ttplease enter______:";
//cout<<"tt";cin>>n;
//for(i=1;i<n+1;i++){
cout<<"ttENTER DONER ID___:";
cout<<"t";cin>>id;
cout<<"ttENTER NAME----:tt";
cin.sync();
getline(cin,name);
// cin>>name;
cout<<"ttENTER GENDER---:t";
cin.sync();
getline(cin,gender);
cout<<"ttENTER BLOOD GROUP___:t";
cin>>blood_grp;
cout<<"ttENTER ADDRESS____:t";
cin.sync();
getline(cin,address);
cout<<"ttENTER AGE___:tt";
cin>>age;
cout<<"ttENTER MOBILE NO____:t";
cin>>cell_no;
cout<<"nYour Record=:"" Has been Success Fully insertedn";
if(start==NULL)
{
start=new node;
start->id=id;
start->name=name;
start->gender=gender;
start->blood_grp=blood_grp;
start->address=address;
start->age=age;
start->cell_no=cell_no;
start->link=NULL;
start->prev=NULL;
}
else
{
curr=start;
while(curr->link!=NULL)
{
curr=curr->link;
}
temp=new node;
temp->id=id;
temp->name=name;
temp->gender=gender;
temp->blood_grp=blood_grp;
temp->address=address;
temp->age=age;
temp->cell_no=cell_no;
curr->link=temp;
temp->link=NULL;
temp->prev=curr;
}
}
void insert_specific(){
int pos;
if(start==NULL)
cout<<"tt THERE IS NO DATA";
else{
cout<<"tt ENTER Position Where u want to add";
cout<<"ntt";cin>>pos;
curr=start;
for(int i=1;i<pos-1;i++)
{
curr=curr->link;
}
temp=new node;
cout<<"tENTER DONER ID___:";
cout<<"t";cin>>id;
temp->id=id;
cout<<"tENTER NAME----:";
cin.sync();
getline(cin,name);
temp->name=name;
cout<<"tENTER GENDER---:";
cin.sync();
getline(cin,gender);
temp->gender=gender;
cout<<"tENTER BLOOD GROUP___:";
cin>>blood_grp;
temp->blood_grp=blood_grp;
cout<<"tENTER ADDRESS____:";
cin.sync();
getline(cin,address);
temp->address=address;
cout<<"tENTER AGE___:";
cin>>age;
temp->age=age;
cout<<"tENTER MOBILE NO____:";
cin>>cell_no;
temp->cell_no=cell_no;
cout<<"nYour Record=:"" Has been Success Fully insertedn";
temp->link=curr->link;
temp->prev=curr;
curr->link=temp;
}
}
void display(){
if(start==NULL)
{cout<<"NO Data Found";
return;}
else{
curr=start;
//cout<<"start="<<start<<endl;
//cout<<"start link="<<start->link<<endl;
//system("pause");
while(curr->link!=NULL)
{
cout<<"ttDONER ID IS=:t"<<curr->id<<endl;
cout<<"ttNAME OF DONER=:t"<<curr->name<<endl;
cout<<"ttDONER AGE=:t"<<curr->age<<endl;
cout<<"ttDONER GENDER=t:"<<curr->gender<<endl;
cout<<"tt DONER BLOOD GROUP=:t"<<curr->blood_grp<<endl;
cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl;
cout<<"ttDONER MOBILE NO=:t"<<curr->cell_no<<endl;
//system("pause");
curr=curr->link;
}
cout<<"ttDONER ID IS=:t"<<curr->id<<endl;
cout<<"ttNAME OF DONER=:t"<<curr->name<<endl;
cout<<"ttDONER AGE=:t"<<curr->age<<endl;
cout<<"ttDONER GENDER=:t"<<curr->gender<<endl;
cout<<"tt DONER BLOOD GROUP=:t"<<curr->blood_grp<<endl;
cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl;
cout<<"ttDONER MOBILE NO=:t"<<curr->cell_no<<endl;
//system("pause");
}}
void checkbloodgrp(){
system("color 4B");
//int found=-1;
string type;
if(start==NULL)
cout<<"tt No RECORD"<<endl;
else{
cout<<"ttENTER the BLOOD type"<<endl;
cin>>type;
curr=start;
while(curr!=NULL){
if(curr->blood_grp ==type)
{
cout<<"ttDONER ID IS=:t"<<curr->id<<endl;
cout<<"ttNAME OF DONER=:t"<<curr->name<<endl;
cout<<"ttDONER AGE=:t"<<curr->age<<endl;
cout<<"ttDONER GENDER=:t"<<curr->gender<<endl;
cout<<"tt DONER BLOOD GROUP=:t"<<curr-
>blood_grp<<endl;
cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl;
cout<<"ttDONER MOBILE NO=:t"<<curr-
>cell_no<<endl;
}//cout<<" no donors found";
curr=curr->link;
}}
}
void check_age(){
system("color 2B");
if(start==NULL)
cout<<"no record in this"<<endl;
else{
curr=start;
//int found=0;
while(curr!=NULL){
if(curr->age>16 && (curr->gender=="f"||curr->gender=="m")){
cout<<"ttDONER ID IS=:t"<<curr->id<<endl;
cout<<"ttNAME OF DONER=:t"<<curr->name<<endl;
cout<<"ttDONER AGE=:t"<<curr->age<<endl;
cout<<"ttDONER GENDER=:t"<<curr->gender<<endl;
cout<<"tt DONER BLOOD GROUP=:t"<<curr->blood_grp<<endl;
cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl;
cout<<"ttDONER MOBILE NO=:t"<<curr->cell_no<<endl;
}
curr=curr->link;
}
cout<<"ntt NO DATA FOUND";
}
}
void count(){
system("color 2F");
int count = 0;
if(start==NULL)
cout<<" THERE IS NO DATAn";
else{
curr=start;
while(curr!= NULL){
count++;
curr=curr->link;
}
cout<<"NUMBER OF DONER IN LIST IS::t"<<count<<endl;
system("color 5F");
}
}
void del_start(){
system("color 4F");
if(start==NULL)
cout<<"ttNO DATA "<<endl;
else{
curr=start;
while(curr->link!=NULL){
if(curr==start)
start=curr->link;
start->prev=NULL;
delete curr;
cout<<"tfirst record has been deleted";
break;
}
}
}
void delspecific(){
system("color 46");
string ch;
if(start==NULL)
cout<<"no data";
else{
cout<<"enter value to delete"<<endl;
cout<<"ntt";cin>>ch;
curr=temp=start;
while(curr->link!=NULL)
{
if(curr->name==ch)
{
cout<<"value found"<<endl;
temp->link=curr->link;
end->prev=temp;
delete curr;
break;
}
temp=curr;
curr=curr->link;
end=curr->link;
}
}
}
void del_all(){
start=NULL;
display();
cout<<"nnYour all record has been deleted...."<<endl;
system("color 22");
}
void About_Dev()
{ system("color 2F");
cout<<"nttttxDBxDBxDBxDBxDBxDB About Developer
xDBxDBxDBxDBxDBxDBxDBxDBxDBnn";
//cout<<"nttttxDBxDBxDBxDBxDBxDBxDBxDB All Rights Reserved
xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBn";
Sleep(600);cout<<"nttCoder Name : MUAWAZ";Sleep(600);cout<<"
AYYAZ";Sleep(600);cout<<" GUJJARn";Sleep(600);
Sleep(500);cout<<"nttCoder Name : USMAN";Sleep(500);cout<<"
ALI";Sleep(400);cout<<" warriachn";Sleep(600);
Sleep(300);cout<<"nttCoder Name : ABDUL MANAN";Sleep(300);cout<<"
HAMZA";Sleep(300);cout<<" ARAIENn";Sleep(300);
cout<<"nttPlatform :Visual Studio OR DEV-C++ n";
cout<<"nttLanguage :C++n";
Sleep(500);
system("color 2F");
}
};
int main(){
logo l;
l.set();
l.login();
blood b;
int val;
system("color 4F");
while(1){
Sleep(100);cout<<"ntt INESRT #: 1 FOR ENTER BLOOD DONOR
DATA";
Sleep(150);cout<<"ntt INESRT #: 2 FOR ENTER At SPECIFIC
BLOOD DONOR DATA";
Sleep(50) ;cout<<"ntt INESRT #: 3 FOR CHECK BLOOD GROUP";
Sleep(40) ;cout<<"ntt INESRT #: 4 BLOOD DONORS IN AGE GROUP
ABOVE 16";
Sleep(30);cout<<"ntt INESRT #: 5 to DISPLAY ALL DATA";
Sleep(15);cout<<"ntt INESRT #: 6 to delete at first
location";
Sleep(15);cout<<"ntt INESRT #: 7 to delete at specific
location";
Sleep(12);cout<<"ntt INESRT #: 8 to check the total
number of doner";
Sleep(30);cout<<"ntt INESRT #: 9 to DELETE ALL DATA";
Sleep(9);cout<<"ntt INESRT #: 10 FOR About Developer";
Sleep(10) ;cout<<"n ttEnter your Choice : ";
cout<<"tt";cin>>val;
switch(val){
case 1:
b.insert();
break;
case 2:
b.insert_specific();
break;
case 3:
b.checkbloodgrp();
break;
case 4:
b.check_age();
break;
case 5:
b.display();
break;
case 6:
b.del_start();
break;
case 7:
b.delspecific();
break;
case 8:
b.count();
break;
case 9:
b.del_all();
break;
case 10:
b.About_Dev();
break;
}
}
_getch();
return 0;
}

More Related Content

What's hot

MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...
MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...
MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...MongoDB
 
Encryption: It's For More Than Just Passwords
Encryption: It's For More Than Just PasswordsEncryption: It's For More Than Just Passwords
Encryption: It's For More Than Just PasswordsJohn Congdon
 
Back to Basics Webinar 5: Introduction to the Aggregation Framework
Back to Basics Webinar 5: Introduction to the Aggregation FrameworkBack to Basics Webinar 5: Introduction to the Aggregation Framework
Back to Basics Webinar 5: Introduction to the Aggregation FrameworkMongoDB
 
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...BradNeuberg
 
Common Performance Pitfalls in Odoo apps
Common Performance Pitfalls in Odoo appsCommon Performance Pitfalls in Odoo apps
Common Performance Pitfalls in Odoo appsOdoo
 
Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012Steven Pousty
 
Spatial script for MongoBoulder
Spatial script for MongoBoulderSpatial script for MongoBoulder
Spatial script for MongoBoulderSteven Pousty
 
MongoDB - Aggregation Pipeline
MongoDB - Aggregation PipelineMongoDB - Aggregation Pipeline
MongoDB - Aggregation PipelineJason Terpko
 
Introduction to the new official C# Driver developed by 10gen
Introduction to the new official C# Driver developed by 10genIntroduction to the new official C# Driver developed by 10gen
Introduction to the new official C# Driver developed by 10genMongoDB
 
CouchDB on Android
CouchDB on AndroidCouchDB on Android
CouchDB on AndroidSven Haiges
 
MongoDB Aggregation
MongoDB Aggregation MongoDB Aggregation
MongoDB Aggregation Amit Ghosh
 
2 teks tongkat mukjizat
2  teks tongkat mukjizat2  teks tongkat mukjizat
2 teks tongkat mukjizatSaleha Mohd
 
How we cooked Elasticsearch, Consul, HAproxy and DNS-recursor
How we cooked Elasticsearch, Consul, HAproxy and DNS-recursorHow we cooked Elasticsearch, Consul, HAproxy and DNS-recursor
How we cooked Elasticsearch, Consul, HAproxy and DNS-recursorOleg Tokarev
 
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source DatabaseInside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source DatabaseMike Dirolf
 
HDTR images with Photoshop Javascript Scripting
HDTR images with Photoshop Javascript ScriptingHDTR images with Photoshop Javascript Scripting
HDTR images with Photoshop Javascript ScriptingDavid Gómez García
 
GeoScript - Spatial Capabilities for Scripting Languages
GeoScript - Spatial Capabilities for Scripting LanguagesGeoScript - Spatial Capabilities for Scripting Languages
GeoScript - Spatial Capabilities for Scripting LanguagesJustin Deoliveira
 
Python postgre sql a wonderful wedding
Python postgre sql   a wonderful weddingPython postgre sql   a wonderful wedding
Python postgre sql a wonderful weddingStéphane Wirtel
 
MongoDB Performance Tuning
MongoDB Performance TuningMongoDB Performance Tuning
MongoDB Performance TuningPuneet Behl
 

What's hot (20)

MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...
MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...
MongoDB Analytics: Learn Aggregation by Example - Exploratory Analytics and V...
 
Encryption: It's For More Than Just Passwords
Encryption: It's For More Than Just PasswordsEncryption: It's For More Than Just Passwords
Encryption: It's For More Than Just Passwords
 
Back to Basics Webinar 5: Introduction to the Aggregation Framework
Back to Basics Webinar 5: Introduction to the Aggregation FrameworkBack to Basics Webinar 5: Introduction to the Aggregation Framework
Back to Basics Webinar 5: Introduction to the Aggregation Framework
 
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
 
Common Performance Pitfalls in Odoo apps
Common Performance Pitfalls in Odoo appsCommon Performance Pitfalls in Odoo apps
Common Performance Pitfalls in Odoo apps
 
Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012Spatial script for my JS.Everywhere 2012
Spatial script for my JS.Everywhere 2012
 
Spatial script for MongoBoulder
Spatial script for MongoBoulderSpatial script for MongoBoulder
Spatial script for MongoBoulder
 
MongoDB - Aggregation Pipeline
MongoDB - Aggregation PipelineMongoDB - Aggregation Pipeline
MongoDB - Aggregation Pipeline
 
Introduction to Elasticsearch
Introduction to ElasticsearchIntroduction to Elasticsearch
Introduction to Elasticsearch
 
Introduction to the new official C# Driver developed by 10gen
Introduction to the new official C# Driver developed by 10genIntroduction to the new official C# Driver developed by 10gen
Introduction to the new official C# Driver developed by 10gen
 
CouchDB on Android
CouchDB on AndroidCouchDB on Android
CouchDB on Android
 
MongoDB Aggregation
MongoDB Aggregation MongoDB Aggregation
MongoDB Aggregation
 
2 teks tongkat mukjizat
2  teks tongkat mukjizat2  teks tongkat mukjizat
2 teks tongkat mukjizat
 
How we cooked Elasticsearch, Consul, HAproxy and DNS-recursor
How we cooked Elasticsearch, Consul, HAproxy and DNS-recursorHow we cooked Elasticsearch, Consul, HAproxy and DNS-recursor
How we cooked Elasticsearch, Consul, HAproxy and DNS-recursor
 
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source DatabaseInside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
 
HDTR images with Photoshop Javascript Scripting
HDTR images with Photoshop Javascript ScriptingHDTR images with Photoshop Javascript Scripting
HDTR images with Photoshop Javascript Scripting
 
Introduction to solr
Introduction to solrIntroduction to solr
Introduction to solr
 
GeoScript - Spatial Capabilities for Scripting Languages
GeoScript - Spatial Capabilities for Scripting LanguagesGeoScript - Spatial Capabilities for Scripting Languages
GeoScript - Spatial Capabilities for Scripting Languages
 
Python postgre sql a wonderful wedding
Python postgre sql   a wonderful weddingPython postgre sql   a wonderful wedding
Python postgre sql a wonderful wedding
 
MongoDB Performance Tuning
MongoDB Performance TuningMongoDB Performance Tuning
MongoDB Performance Tuning
 

Viewers also liked

5. Queue - Data Structures using C++ by Varsha Patil
5. Queue - Data Structures using C++ by Varsha Patil5. Queue - Data Structures using C++ by Varsha Patil
5. Queue - Data Structures using C++ by Varsha Patilwidespreadpromotion
 
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...widespreadpromotion
 
A project report on indian mobile market
A project report on indian mobile marketA project report on indian mobile market
A project report on indian mobile marketProjects Kart
 
A project report on brand preference of mobile phones
A project report on brand preference of mobile phonesA project report on brand preference of mobile phones
A project report on brand preference of mobile phonesProjects Kart
 
Project report on brand preference of mobile phones with special reference to...
Project report on brand preference of mobile phones with special reference to...Project report on brand preference of mobile phones with special reference to...
Project report on brand preference of mobile phones with special reference to...Projects Kart
 
NGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tk
NGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tkNGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tk
NGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tktksphan
 
альманах "Ми - єдина родина."
альманах "Ми - єдина родина."альманах "Ми - єдина родина."
альманах "Ми - єдина родина."nataliyu roschina
 
01. sistemas de control grado 10
01. sistemas de control grado 1001. sistemas de control grado 10
01. sistemas de control grado 10luale1824
 
Rodney Harris Resume 3
Rodney Harris Resume 3Rodney Harris Resume 3
Rodney Harris Resume 3Rodney Harris
 
La energía renovable
La energía renovableLa energía renovable
La energía renovableConMuchoFlow
 

Viewers also liked (14)

Sixth sense
Sixth senseSixth sense
Sixth sense
 
14. Linked List
14. Linked List14. Linked List
14. Linked List
 
5. Queue - Data Structures using C++ by Varsha Patil
5. Queue - Data Structures using C++ by Varsha Patil5. Queue - Data Structures using C++ by Varsha Patil
5. Queue - Data Structures using C++ by Varsha Patil
 
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
2. Linear Data Structure Using Arrays - Data Structures using C++ by Varsha P...
 
A project report on indian mobile market
A project report on indian mobile marketA project report on indian mobile market
A project report on indian mobile market
 
Project Report
Project ReportProject Report
Project Report
 
A project report on brand preference of mobile phones
A project report on brand preference of mobile phonesA project report on brand preference of mobile phones
A project report on brand preference of mobile phones
 
Project report on brand preference of mobile phones with special reference to...
Project report on brand preference of mobile phones with special reference to...Project report on brand preference of mobile phones with special reference to...
Project report on brand preference of mobile phones with special reference to...
 
NGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tk
NGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tkNGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tk
NGỮ PHÁP N3 TRONG TIẾNG NHẬT http://www.listeningnihongo.tk
 
альманах "Ми - єдина родина."
альманах "Ми - єдина родина."альманах "Ми - єдина родина."
альманах "Ми - єдина родина."
 
Desert Period 3
Desert Period 3Desert Period 3
Desert Period 3
 
01. sistemas de control grado 10
01. sistemas de control grado 1001. sistemas de control grado 10
01. sistemas de control grado 10
 
Rodney Harris Resume 3
Rodney Harris Resume 3Rodney Harris Resume 3
Rodney Harris Resume 3
 
La energía renovable
La energía renovableLa energía renovable
La energía renovable
 

Similar to New text document

Laporan pd kelompok 6
Laporan pd kelompok 6Laporan pd kelompok 6
Laporan pd kelompok 6phoe3
 
Eve - REST API for Humans™
Eve - REST API for Humans™Eve - REST API for Humans™
Eve - REST API for Humans™Nicola Iarocci
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing Swakriti Rathore
 
Look Ma, “update DB to HTML5 using C++”, no hands! 
Look Ma, “update DB to HTML5 using C++”, no hands! Look Ma, “update DB to HTML5 using C++”, no hands! 
Look Ma, “update DB to HTML5 using C++”, no hands! aleks-f
 
201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up恵寿 東
 
Fcontratos
FcontratosFcontratos
Fcontratoskarlloss
 
C++ adt c++ implementations
C++   adt c++ implementationsC++   adt c++ implementations
C++ adt c++ implementationsRex Mwamba
 
DATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDY
DATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDYDATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDY
DATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDYMalikireddy Bramhananda Reddy
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++Dendi Riadi
 
Microprocessor and micro-controller lab (assembly programming)
Microprocessor and micro-controller lab (assembly programming)Microprocessor and micro-controller lab (assembly programming)
Microprocessor and micro-controller lab (assembly programming)shamim hossain
 
c++ project
c++ projectc++ project
c++ projectTrish004
 
Agile Testing Days 2018 - API Fundamentals - postman collection
Agile Testing Days 2018 - API Fundamentals - postman collectionAgile Testing Days 2018 - API Fundamentals - postman collection
Agile Testing Days 2018 - API Fundamentals - postman collectionJoEllen Carter
 

Similar to New text document (20)

Hospital management
Hospital managementHospital management
Hospital management
 
Hospital management
Hospital managementHospital management
Hospital management
 
Laporan pd kelompok 6
Laporan pd kelompok 6Laporan pd kelompok 6
Laporan pd kelompok 6
 
Eve - REST API for Humans™
Eve - REST API for Humans™Eve - REST API for Humans™
Eve - REST API for Humans™
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing
 
Look Ma, “update DB to HTML5 using C++”, no hands! 
Look Ma, “update DB to HTML5 using C++”, no hands! Look Ma, “update DB to HTML5 using C++”, no hands! 
Look Ma, “update DB to HTML5 using C++”, no hands! 
 
201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up
 
Fcontratos
FcontratosFcontratos
Fcontratos
 
C++ adt c++ implementations
C++   adt c++ implementationsC++   adt c++ implementations
C++ adt c++ implementations
 
DATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDY
DATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDYDATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDY
DATASTRUCTURES PPTS PREPARED BY M V BRAHMANANDA REDDY
 
Project in programming
Project in programmingProject in programming
Project in programming
 
Couchdb
CouchdbCouchdb
Couchdb
 
Rabia
RabiaRabia
Rabia
 
Railwaynew
RailwaynewRailwaynew
Railwaynew
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++
 
ShopC++
ShopC++ShopC++
ShopC++
 
Microprocessor and micro-controller lab (assembly programming)
Microprocessor and micro-controller lab (assembly programming)Microprocessor and micro-controller lab (assembly programming)
Microprocessor and micro-controller lab (assembly programming)
 
c++ project
c++ projectc++ project
c++ project
 
Agile Testing Days 2018 - API Fundamentals - postman collection
Agile Testing Days 2018 - API Fundamentals - postman collectionAgile Testing Days 2018 - API Fundamentals - postman collection
Agile Testing Days 2018 - API Fundamentals - postman collection
 
CGI.pm - 3ло?!
CGI.pm - 3ло?!CGI.pm - 3ло?!
CGI.pm - 3ло?!
 

Recently uploaded

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 

Recently uploaded (20)

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 

New text document

  • 1. //BLOOD BANK MANAGEMENT SYSTEM AS A DOUPLY LINK LIST PROJECT. #include<conio.h> #include<windows.h> #include<iostream> #include<math.h> #include<string> using namespace std; struct node{ string name,gender,blood_grp,address; int age; long double cell_no,id; node *link; node *prev; }; class logo{ public: logo(){ } void set(){system("color 3F"); Sleep(500);cout<<"nntttt xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB"; Sleep(500);cout<<"nntttt xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB"; Sleep(200);cout<<"nnttt WELL COME TO BLOOD BANK MANAGMENT SYSTEM"; Sleep(500);cout<<"nntttt xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB"; Sleep(500);cout<<"nntttt xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDBxDB"; system("color 2B");} void login(){ string pass = "hamza10"; string user ; cout << "nttENTER YOUR PASSWORD TO THIS PROJECT ==::"; cin >> user; while(pass !=user) { cout<< "password is wrongn"; cout<<"Enter correct password"; cin >> user; } system("color 2F"); } }; class blood{ private: string name,gender,blood_grp,address; int age; long double cell_no,id; int n,i; node *start,*temp,*curr,*end; public: blood(){ start=NULL;
  • 2. } void insert(){ //cout<<"HOW MANY DONER GIVE BLOOD "<<endl; //cout<<"ttplease enter______:"; //cout<<"tt";cin>>n; //for(i=1;i<n+1;i++){ cout<<"ttENTER DONER ID___:"; cout<<"t";cin>>id; cout<<"ttENTER NAME----:tt"; cin.sync(); getline(cin,name); // cin>>name; cout<<"ttENTER GENDER---:t"; cin.sync(); getline(cin,gender); cout<<"ttENTER BLOOD GROUP___:t"; cin>>blood_grp; cout<<"ttENTER ADDRESS____:t"; cin.sync(); getline(cin,address); cout<<"ttENTER AGE___:tt"; cin>>age; cout<<"ttENTER MOBILE NO____:t"; cin>>cell_no; cout<<"nYour Record=:"" Has been Success Fully insertedn"; if(start==NULL) { start=new node; start->id=id; start->name=name; start->gender=gender; start->blood_grp=blood_grp; start->address=address; start->age=age; start->cell_no=cell_no; start->link=NULL; start->prev=NULL; } else { curr=start; while(curr->link!=NULL) { curr=curr->link; } temp=new node; temp->id=id; temp->name=name; temp->gender=gender; temp->blood_grp=blood_grp; temp->address=address; temp->age=age; temp->cell_no=cell_no; curr->link=temp; temp->link=NULL; temp->prev=curr; }
  • 3. } void insert_specific(){ int pos; if(start==NULL) cout<<"tt THERE IS NO DATA"; else{ cout<<"tt ENTER Position Where u want to add"; cout<<"ntt";cin>>pos; curr=start; for(int i=1;i<pos-1;i++) { curr=curr->link; } temp=new node; cout<<"tENTER DONER ID___:"; cout<<"t";cin>>id; temp->id=id; cout<<"tENTER NAME----:"; cin.sync(); getline(cin,name); temp->name=name; cout<<"tENTER GENDER---:"; cin.sync(); getline(cin,gender); temp->gender=gender; cout<<"tENTER BLOOD GROUP___:"; cin>>blood_grp; temp->blood_grp=blood_grp; cout<<"tENTER ADDRESS____:"; cin.sync(); getline(cin,address); temp->address=address; cout<<"tENTER AGE___:"; cin>>age; temp->age=age; cout<<"tENTER MOBILE NO____:"; cin>>cell_no; temp->cell_no=cell_no; cout<<"nYour Record=:"" Has been Success Fully insertedn"; temp->link=curr->link; temp->prev=curr; curr->link=temp; } } void display(){ if(start==NULL) {cout<<"NO Data Found"; return;} else{ curr=start; //cout<<"start="<<start<<endl; //cout<<"start link="<<start->link<<endl; //system("pause"); while(curr->link!=NULL) { cout<<"ttDONER ID IS=:t"<<curr->id<<endl; cout<<"ttNAME OF DONER=:t"<<curr->name<<endl; cout<<"ttDONER AGE=:t"<<curr->age<<endl; cout<<"ttDONER GENDER=t:"<<curr->gender<<endl; cout<<"tt DONER BLOOD GROUP=:t"<<curr->blood_grp<<endl; cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl; cout<<"ttDONER MOBILE NO=:t"<<curr->cell_no<<endl;
  • 4. //system("pause"); curr=curr->link; } cout<<"ttDONER ID IS=:t"<<curr->id<<endl; cout<<"ttNAME OF DONER=:t"<<curr->name<<endl; cout<<"ttDONER AGE=:t"<<curr->age<<endl; cout<<"ttDONER GENDER=:t"<<curr->gender<<endl; cout<<"tt DONER BLOOD GROUP=:t"<<curr->blood_grp<<endl; cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl; cout<<"ttDONER MOBILE NO=:t"<<curr->cell_no<<endl; //system("pause"); }} void checkbloodgrp(){ system("color 4B"); //int found=-1; string type; if(start==NULL) cout<<"tt No RECORD"<<endl; else{ cout<<"ttENTER the BLOOD type"<<endl; cin>>type; curr=start; while(curr!=NULL){ if(curr->blood_grp ==type) { cout<<"ttDONER ID IS=:t"<<curr->id<<endl; cout<<"ttNAME OF DONER=:t"<<curr->name<<endl; cout<<"ttDONER AGE=:t"<<curr->age<<endl; cout<<"ttDONER GENDER=:t"<<curr->gender<<endl; cout<<"tt DONER BLOOD GROUP=:t"<<curr- >blood_grp<<endl; cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl; cout<<"ttDONER MOBILE NO=:t"<<curr- >cell_no<<endl; }//cout<<" no donors found"; curr=curr->link; }} } void check_age(){ system("color 2B"); if(start==NULL) cout<<"no record in this"<<endl; else{ curr=start; //int found=0; while(curr!=NULL){ if(curr->age>16 && (curr->gender=="f"||curr->gender=="m")){ cout<<"ttDONER ID IS=:t"<<curr->id<<endl; cout<<"ttNAME OF DONER=:t"<<curr->name<<endl; cout<<"ttDONER AGE=:t"<<curr->age<<endl; cout<<"ttDONER GENDER=:t"<<curr->gender<<endl; cout<<"tt DONER BLOOD GROUP=:t"<<curr->blood_grp<<endl; cout<<"ttDONER ADDRESS=:t"<<curr->address<<endl; cout<<"ttDONER MOBILE NO=:t"<<curr->cell_no<<endl; } curr=curr->link; } cout<<"ntt NO DATA FOUND"; }
  • 5. } void count(){ system("color 2F"); int count = 0; if(start==NULL) cout<<" THERE IS NO DATAn"; else{ curr=start; while(curr!= NULL){ count++; curr=curr->link; } cout<<"NUMBER OF DONER IN LIST IS::t"<<count<<endl; system("color 5F"); } } void del_start(){ system("color 4F"); if(start==NULL) cout<<"ttNO DATA "<<endl; else{ curr=start; while(curr->link!=NULL){ if(curr==start) start=curr->link; start->prev=NULL; delete curr; cout<<"tfirst record has been deleted"; break; } } } void delspecific(){ system("color 46"); string ch; if(start==NULL) cout<<"no data"; else{ cout<<"enter value to delete"<<endl; cout<<"ntt";cin>>ch; curr=temp=start; while(curr->link!=NULL) { if(curr->name==ch) { cout<<"value found"<<endl; temp->link=curr->link; end->prev=temp; delete curr; break; } temp=curr; curr=curr->link; end=curr->link; } } } void del_all(){ start=NULL;
  • 6. display(); cout<<"nnYour all record has been deleted...."<<endl; system("color 22"); } void About_Dev() { system("color 2F"); cout<<"nttttxDBxDBxDBxDBxDBxDB About Developer xDBxDBxDBxDBxDBxDBxDBxDBxDBnn"; //cout<<"nttttxDBxDBxDBxDBxDBxDBxDBxDB All Rights Reserved xDBxDBxDBxDBxDBxDBxDBxDBxDBxDBn"; Sleep(600);cout<<"nttCoder Name : MUAWAZ";Sleep(600);cout<<" AYYAZ";Sleep(600);cout<<" GUJJARn";Sleep(600); Sleep(500);cout<<"nttCoder Name : USMAN";Sleep(500);cout<<" ALI";Sleep(400);cout<<" warriachn";Sleep(600); Sleep(300);cout<<"nttCoder Name : ABDUL MANAN";Sleep(300);cout<<" HAMZA";Sleep(300);cout<<" ARAIENn";Sleep(300); cout<<"nttPlatform :Visual Studio OR DEV-C++ n"; cout<<"nttLanguage :C++n"; Sleep(500); system("color 2F"); } }; int main(){ logo l; l.set(); l.login(); blood b; int val; system("color 4F"); while(1){ Sleep(100);cout<<"ntt INESRT #: 1 FOR ENTER BLOOD DONOR DATA"; Sleep(150);cout<<"ntt INESRT #: 2 FOR ENTER At SPECIFIC BLOOD DONOR DATA"; Sleep(50) ;cout<<"ntt INESRT #: 3 FOR CHECK BLOOD GROUP"; Sleep(40) ;cout<<"ntt INESRT #: 4 BLOOD DONORS IN AGE GROUP ABOVE 16"; Sleep(30);cout<<"ntt INESRT #: 5 to DISPLAY ALL DATA"; Sleep(15);cout<<"ntt INESRT #: 6 to delete at first location"; Sleep(15);cout<<"ntt INESRT #: 7 to delete at specific location"; Sleep(12);cout<<"ntt INESRT #: 8 to check the total number of doner"; Sleep(30);cout<<"ntt INESRT #: 9 to DELETE ALL DATA"; Sleep(9);cout<<"ntt INESRT #: 10 FOR About Developer"; Sleep(10) ;cout<<"n ttEnter your Choice : "; cout<<"tt";cin>>val; switch(val){ case 1: b.insert(); break;
  • 7. case 2: b.insert_specific(); break; case 3: b.checkbloodgrp(); break; case 4: b.check_age(); break; case 5: b.display(); break; case 6: b.del_start(); break; case 7: b.delspecific(); break; case 8: b.count(); break; case 9: b.del_all(); break; case 10: b.About_Dev(); break; } } _getch(); return 0; }