SlideShare a Scribd company logo
INFORMATION TECHNOLOGY
Name List Generator
Submitted By
Hardik Jadam
BCA II year
C++ Programming
www.dezyneecole.com
Partial Fulfillment
On
C++ Programming
At
Dezyne E’cole College
Submitted to
Dezyne E’cole College
Dezyne E’cole College
106/10, Civil Lines Ajmer
Tel-Phone - 0145-2624679
www.dezyneecole.com
2016-2017
Acknowledgement
I HARDIK JADAM STUDENT OF DEZYNE E’COLE COLLEGE, AN
EXTREMELY GRATEFUL TO EACH AND EVERY INDIVIDUAL
WHO HAS CONTRIBUTED IN SUCCESSFUL COMPLETION OF
MY PROJECT.
I EXPRESS MY GRATITUDE TOWARDS, DEZYNE E’COLE
COLLEGE TO THEIR GUIDELINES AND CONSTANT
SUPERVISION AS WELL FOR PROVIDING THE NECESSARY
INFORMATION AND SUPPORT REGARDING THE COMPLETION
OF PROJECT.
Thank you
Synopsis
THIS PROJECT IS A MINOR PROJECT MADE BASED ON
PRACTICAL CONCEPTS OF C++. THIS PROJECT HAS MADE
OUR BASIC PRACTICAL CONCEPTS STRONG.
P a g e | 1
Name List Generator
Coding:-
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
#include<fstream.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
class var
{
public:
char n[20],c[20],l[20];
char id[20];
P a g e | 2
};
var w,in;
fstream u;
fstream f;
void main()
{
class file
{
public:
void bor()
{
int i;
for(i=2;i<79;i++)
{
gotoxy(i,3);
cout<<"-";
gotoxy(i,4);
cout<<"-";
gotoxy(i,22);
cout<<"-";
gotoxy(i,23);
cout<<"-";
}
for(i=2;i<=24;i++)
{
gotoxy(5,i);
cout<<"|";
gotoxy(6,i);
cout<<"-";
gotoxy(7,i);
cout<<"|";
gotoxy(74,i);
P a g e | 3
cout<<"|";
gotoxy(75,i);
cout<<"-";
gotoxy(76,i);
cout<<"|";
}
}
void con()
{
char c;
gotoxy(20,20);
textcolor(4);
cprintf("C");
textcolor(7);
cout<<"ontinue";
gotoxy(39,20);
textcolor(4);
cprintf("B");
cout<<"ack";
gotoxy(55,20);
textcolor(4);
cprintf("E");
textcolor(7);
cout<<"xit";
c=getch();
switch(c)
{
case 'c':
case 'C':
clrscr();
get();
case 'b':
P a g e | 4
case 'B':
clrscr();
main();
case 'E':
case 'e':
exit(0);
}
}
void op()
{
bor();
char c;
gotoxy(30,6);
cout<<"NAME LIST GENERATOR";
textcolor(4);
gotoxy(22,10);
cprintf("I");
textcolor(7);
cout<<"nsert Student";
gotoxy(44,10);
textcolor(4);
cprintf("V");
textcolor(7);
cout<<"iew Student";
gotoxy(22,12);
textcolor(4);
cprintf("D");
textcolor(7);
cout<<"elete Student";
gotoxy(44,12);
textcolor(4);
P a g e | 5
cprintf("M");
textcolor(7);
cout<<"odify Student";
gotoxy(22,14);
textcolor(4);
cprintf("S");
textcolor(7);
cout<<"earch Student";
gotoxy(44,14);
textcolor(4);
cprintf("E");
textcolor(7);
cout<<"xit";
c=getch();
switch(c)
{
case 'i' :
case 'I' :
clrscr();
get();
break;
case 'v':
case 'V':
clrscr();
view();
break;
case 'd':
case 'D':
clrscr();
del();
break;
case 'm':
P a g e | 6
case 'M' :
clrscr();
mod();
break;
case 's':
case 'S' :
clrscr();
search();
break;
case 'e':
case 'E':
exit(0);
default: cout<<"Wrong Input";
main();
break;
}
}
P a g e | 7
Insert Student Detail
View Inserted Record
P a g e | 8
Coding:-
void get()
{
clrscr();
bor();
gotoxy(25,6);
cout<<"INSERT Student Details";
gotoxy(20,8);
cout<<"Enter Id::";
cin>>in.id;
f.open("std",ios::in);
while(f.read((char *) &w,sizeof(w)))
{
if(strcmp(w.id,in.id)==0)
{
get();
}
if(f==0)
{
break;
}
}
f.close();
gotoxy(20,10);
cout<<"Enter Name::";
gets(in.n) ;
gotoxy(20,12);
cout<<"Enter Class::";
gets(in.l);
gotoxy(20,14);
cout<<"Enter City::";
P a g e | 9
gets(in.c);
add();
con();
}
void add()
{
f.open("std",ios::out | ios::app);
f.write((char *) &in,sizeof(in));
f.close();
gotoxy(27,16);
cout<<"Record INSERTED";
}
P a g e | 10
View all Records
Coding:-
void view()
{
bor();
gotoxy(30,6);
cout<<"VIEW all Records";
gotoxy(20,8);
cout<<"Id"<<"t"<<"Name"<<"tt"<<"Class"<<"t"<<"City"<<endl;
f.open("std",ios::in);
gotoxy(20,9);
while(f.read((char *) &in,sizeof(in)))
{
cout<<in.id<<"t"<<in.n<<"t"<<in.l<<"t"<<in.c<<endl<<"tt ";
if(f==0)
{
break;
P a g e | 11
}
}
f.close();
char c;
gotoxy(20,20);
textcolor(4);
cprintf("B");
cout<<"ack";
gotoxy(55,20);
textcolor(4);
cprintf("E");
textcolor(7);
cout<<"xit";
bor();
c=getch();
switch(c)
{
case 'b':
case 'B':
clrscr();
main();
case 'E':
case 'e':
exit(0);
}
}
P a g e | 12
Modify Student Detail
Before Modify
P a g e | 13
After Modify
Coding:-
void mod()
{
char aid[5];
bor();
gotoxy(25,6);
cout<<"MODIFY Student Detail";
gotoxy(25,8);
cout<<"Enter id::";
cin>>aid;
f.open("std",ios::in);
u.open("temp",ios::app);
while(f.read((char *) &in,sizeof(in)))
{
if(strcmp(in.id,aid)==0)
{
P a g e | 14
strcpy(in.id,aid);
gotoxy(25,10);
cout<<"Name::";
gets(in.n);
gotoxy(25,12);
cout<<"Class::";
gets(in.l);
gotoxy(25,14);
cout<<"City::";
gets(in.c);
u.write((char *) &in,sizeof(in));
gotoxy(24,16);
cout<<"Data Modified";
}
else
{
u.write((char *) &in,sizeof(in));
}
}
u.close();
f.close();
remove("std");
rename("temp","std");
char c;
gotoxy(20,20);
textcolor(4);
cprintf("C");
textcolor(7);
cout<<"ontinue";
gotoxy(39,20);
textcolor(4);
cprintf("B");
cout<<"ack";
gotoxy(55,20);
P a g e | 15
textcolor(4);
cprintf("E");
textcolor(7);
cout<<"xit";
c=getch();
switch(c)
{
case 'c':
case 'C':
clrscr();
mod();
case 'b':
case 'B':
clrscr();
main();
case 'E':
case 'e':
exit(0);
}
}
P a g e | 16
Delete Student Detail
Before Delete
P a g e | 17
After Deleted
Coding:-
void del()
{
bor();
char id[5];
gotoxy(25,6);
cout<<"DELETE Student Detail";
gotoxy(25,8);
cout<<"Enter id::";
cin>>id;
f.open("std",ios::in);
u.open("temp",ios::out);
while(f.read((char *) &in,sizeof(in)))
{
if(strcmp(in.id,id)==0)
P a g e | 18
{
gotoxy(27,10);
cout<<"Name::"<<in.n;
gotoxy(27,11);
cout<<"Class::"<<in.l;
gotoxy(27,12);
cout<<"City::"<<in.c;
gotoxy(30,15);
cout<<"Record DELETED";
}
else
{
u.write((char *) &in,sizeof(in));
}
}
u.close();
f.close();
remove("std");
rename("temp","std");
char c;
gotoxy(20,20);
textcolor(4);
cprintf("C");
textcolor(7);
cout<<"ontinue";
gotoxy(39,20);
textcolor(4);
cprintf("B");
cout<<"ack";
gotoxy(55,20);
textcolor(4);
cprintf("E");
textcolor(7);
cout<<"xit";
P a g e | 19
c=getch();
switch(c)
{
case 'c':
case 'C':
clrscr();
del();
case 'b':
case 'B':
clrscr();
main();
case 'E':
case 'e':
exit(0);
}
}
P a g e | 20
Search Student
View Search Record
P a g e | 21
Coding:-
void search()
{
bor();
gotoxy(25,6);
cout<<"SEARCH Student Details";
gotoxy(25,8);
cout<<"Enter id::";
cin>>w.id;
int c=0;
f.open("std",ios::in);
while(f.read((char *) &in,sizeof(in)))
{
if(strcmp(w.id,in.id)==0)
{
gotoxy(27,11);
cout<<"Name::"<<in.n;
gotoxy(27,13);
cout<<"Class::"<<in.l;
gotoxy(27,15);
cout<<"City::"<<in.c;
c=1;
}
}
if(c==0)
{
gotoxy(27,15);
cout<<"Data NOT found";
}
char c1;
gotoxy(20,20);
textcolor(4);
cprintf("C");
P a g e | 22
textcolor(7);
cout<<"ontinue";
gotoxy(39,20);
textcolor(4);
cprintf("B");
cout<<"ack";
gotoxy(55,20);
textcolor(4);
cprintf("E");
textcolor(7);
cout<<"xit";
c1=getch();
switch(c1)
{
case 'c':
case 'C':
clrscr();
search();
case 'b':
case 'B':
clrscr();
main();
case 'E':
case 'e':
exit(0);
}
}
};
clrscr();
file o;
o.op();
getch();
}
P a g e | 23
Thank you

More Related Content

What's hot

CV_MahendraPrabu
CV_MahendraPrabuCV_MahendraPrabu
CV_MahendraPrabu
mahendra prabu
 
Recommendation letter Mv Saluzi
Recommendation letter Mv SaluziRecommendation letter Mv Saluzi
Recommendation letter Mv Saluzi
Igor Loncaric
 
mohamed mohsen
mohamed mohsenmohamed mohsen
mohamed mohsen
mohamed mohsen
 
هدوى محمد
هدوى محمدهدوى محمد
هدوى محمد
Hadwa Younis
 
Jobs in September 2014
Jobs in September 2014Jobs in September 2014
Jobs in September 2014
Daily 10 Minutes
 
tamer C.V
tamer C.Vtamer C.V
tamer C.V
Tamer Khalil
 

What's hot (6)

CV_MahendraPrabu
CV_MahendraPrabuCV_MahendraPrabu
CV_MahendraPrabu
 
Recommendation letter Mv Saluzi
Recommendation letter Mv SaluziRecommendation letter Mv Saluzi
Recommendation letter Mv Saluzi
 
mohamed mohsen
mohamed mohsenmohamed mohsen
mohamed mohsen
 
هدوى محمد
هدوى محمدهدوى محمد
هدوى محمد
 
Jobs in September 2014
Jobs in September 2014Jobs in September 2014
Jobs in September 2014
 
tamer C.V
tamer C.Vtamer C.V
tamer C.V
 

Similar to Hardik Jadam , BCA Third Year

Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third Year
Dezyneecole
 
Shivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third YearShivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third Year
Dezyneecole
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
Dezyneecole
 
Ronak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third YearRonak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third Year
Dezyneecole
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third Year
Dezyneecole
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third Year
Dezyneecole
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third Year
Dezyneecole
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
Dezyneecole
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
Dezyneecole
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
dezyneecole
 
Shivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third YearShivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third Year
Dezyneecole
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
dezyneecole
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
dezyneecole
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third Year
Dezyneecole
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
dezyneecole
 
Kirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third YearKirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third Year
dezyneecole
 
hotel-management-report.pdf
hotel-management-report.pdfhotel-management-report.pdf
hotel-management-report.pdf
UtkarshSharma840816
 
Computer science investigatory project- computer shop
Computer science investigatory project- computer shopComputer science investigatory project- computer shop
Computer science investigatory project- computer shop
Yash Panwar
 
c++ project
c++ projectc++ project
c++ project
Trish004
 
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
dezyneecole
 

Similar to Hardik Jadam , BCA Third Year (20)

Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third Year
 
Shivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third YearShivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third Year
 
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
 
Ronak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third YearRonak Kachhawa , BCA Third Year
Ronak Kachhawa , BCA Third Year
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third Year
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third Year
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third Year
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
Shivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third YearShivani Chouhan , BCA Third Year
Shivani Chouhan , BCA Third Year
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
 
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third Year
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Kirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third YearKirti Kumawat, BCA Third Year
Kirti Kumawat, BCA Third Year
 
hotel-management-report.pdf
hotel-management-report.pdfhotel-management-report.pdf
hotel-management-report.pdf
 
Computer science investigatory project- computer shop
Computer science investigatory project- computer shopComputer science investigatory project- computer shop
Computer science investigatory project- computer shop
 
c++ project
c++ projectc++ project
c++ project
 
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
Kuldeep Singh Project on C language and Visual Basic ,Final Year BCA ,Dezyne ...
 

More from dezyneecole

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
dezyneecole
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
dezyneecole
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
dezyneecole
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
dezyneecole
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole
 

More from dezyneecole (20)

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
 

Recently uploaded

คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 

Recently uploaded (20)

คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 

Hardik Jadam , BCA Third Year

  • 1. INFORMATION TECHNOLOGY Name List Generator Submitted By Hardik Jadam BCA II year C++ Programming www.dezyneecole.com
  • 2. Partial Fulfillment On C++ Programming At Dezyne E’cole College Submitted to Dezyne E’cole College Dezyne E’cole College 106/10, Civil Lines Ajmer Tel-Phone - 0145-2624679 www.dezyneecole.com 2016-2017
  • 3. Acknowledgement I HARDIK JADAM STUDENT OF DEZYNE E’COLE COLLEGE, AN EXTREMELY GRATEFUL TO EACH AND EVERY INDIVIDUAL WHO HAS CONTRIBUTED IN SUCCESSFUL COMPLETION OF MY PROJECT. I EXPRESS MY GRATITUDE TOWARDS, DEZYNE E’COLE COLLEGE TO THEIR GUIDELINES AND CONSTANT SUPERVISION AS WELL FOR PROVIDING THE NECESSARY INFORMATION AND SUPPORT REGARDING THE COMPLETION OF PROJECT. Thank you
  • 4. Synopsis THIS PROJECT IS A MINOR PROJECT MADE BASED ON PRACTICAL CONCEPTS OF C++. THIS PROJECT HAS MADE OUR BASIC PRACTICAL CONCEPTS STRONG.
  • 5. P a g e | 1 Name List Generator Coding:- #include<iostream.h> #include<conio.h> #include<iomanip.h> #include<fstream.h> #include<stdio.h> #include<stdlib.h> #include<string.h> class var { public: char n[20],c[20],l[20]; char id[20];
  • 6. P a g e | 2 }; var w,in; fstream u; fstream f; void main() { class file { public: void bor() { int i; for(i=2;i<79;i++) { gotoxy(i,3); cout<<"-"; gotoxy(i,4); cout<<"-"; gotoxy(i,22); cout<<"-"; gotoxy(i,23); cout<<"-"; } for(i=2;i<=24;i++) { gotoxy(5,i); cout<<"|"; gotoxy(6,i); cout<<"-"; gotoxy(7,i); cout<<"|"; gotoxy(74,i);
  • 7. P a g e | 3 cout<<"|"; gotoxy(75,i); cout<<"-"; gotoxy(76,i); cout<<"|"; } } void con() { char c; gotoxy(20,20); textcolor(4); cprintf("C"); textcolor(7); cout<<"ontinue"; gotoxy(39,20); textcolor(4); cprintf("B"); cout<<"ack"; gotoxy(55,20); textcolor(4); cprintf("E"); textcolor(7); cout<<"xit"; c=getch(); switch(c) { case 'c': case 'C': clrscr(); get(); case 'b':
  • 8. P a g e | 4 case 'B': clrscr(); main(); case 'E': case 'e': exit(0); } } void op() { bor(); char c; gotoxy(30,6); cout<<"NAME LIST GENERATOR"; textcolor(4); gotoxy(22,10); cprintf("I"); textcolor(7); cout<<"nsert Student"; gotoxy(44,10); textcolor(4); cprintf("V"); textcolor(7); cout<<"iew Student"; gotoxy(22,12); textcolor(4); cprintf("D"); textcolor(7); cout<<"elete Student"; gotoxy(44,12); textcolor(4);
  • 9. P a g e | 5 cprintf("M"); textcolor(7); cout<<"odify Student"; gotoxy(22,14); textcolor(4); cprintf("S"); textcolor(7); cout<<"earch Student"; gotoxy(44,14); textcolor(4); cprintf("E"); textcolor(7); cout<<"xit"; c=getch(); switch(c) { case 'i' : case 'I' : clrscr(); get(); break; case 'v': case 'V': clrscr(); view(); break; case 'd': case 'D': clrscr(); del(); break; case 'm':
  • 10. P a g e | 6 case 'M' : clrscr(); mod(); break; case 's': case 'S' : clrscr(); search(); break; case 'e': case 'E': exit(0); default: cout<<"Wrong Input"; main(); break; } }
  • 11. P a g e | 7 Insert Student Detail View Inserted Record
  • 12. P a g e | 8 Coding:- void get() { clrscr(); bor(); gotoxy(25,6); cout<<"INSERT Student Details"; gotoxy(20,8); cout<<"Enter Id::"; cin>>in.id; f.open("std",ios::in); while(f.read((char *) &w,sizeof(w))) { if(strcmp(w.id,in.id)==0) { get(); } if(f==0) { break; } } f.close(); gotoxy(20,10); cout<<"Enter Name::"; gets(in.n) ; gotoxy(20,12); cout<<"Enter Class::"; gets(in.l); gotoxy(20,14); cout<<"Enter City::";
  • 13. P a g e | 9 gets(in.c); add(); con(); } void add() { f.open("std",ios::out | ios::app); f.write((char *) &in,sizeof(in)); f.close(); gotoxy(27,16); cout<<"Record INSERTED"; }
  • 14. P a g e | 10 View all Records Coding:- void view() { bor(); gotoxy(30,6); cout<<"VIEW all Records"; gotoxy(20,8); cout<<"Id"<<"t"<<"Name"<<"tt"<<"Class"<<"t"<<"City"<<endl; f.open("std",ios::in); gotoxy(20,9); while(f.read((char *) &in,sizeof(in))) { cout<<in.id<<"t"<<in.n<<"t"<<in.l<<"t"<<in.c<<endl<<"tt "; if(f==0) { break;
  • 15. P a g e | 11 } } f.close(); char c; gotoxy(20,20); textcolor(4); cprintf("B"); cout<<"ack"; gotoxy(55,20); textcolor(4); cprintf("E"); textcolor(7); cout<<"xit"; bor(); c=getch(); switch(c) { case 'b': case 'B': clrscr(); main(); case 'E': case 'e': exit(0); } }
  • 16. P a g e | 12 Modify Student Detail Before Modify
  • 17. P a g e | 13 After Modify Coding:- void mod() { char aid[5]; bor(); gotoxy(25,6); cout<<"MODIFY Student Detail"; gotoxy(25,8); cout<<"Enter id::"; cin>>aid; f.open("std",ios::in); u.open("temp",ios::app); while(f.read((char *) &in,sizeof(in))) { if(strcmp(in.id,aid)==0) {
  • 18. P a g e | 14 strcpy(in.id,aid); gotoxy(25,10); cout<<"Name::"; gets(in.n); gotoxy(25,12); cout<<"Class::"; gets(in.l); gotoxy(25,14); cout<<"City::"; gets(in.c); u.write((char *) &in,sizeof(in)); gotoxy(24,16); cout<<"Data Modified"; } else { u.write((char *) &in,sizeof(in)); } } u.close(); f.close(); remove("std"); rename("temp","std"); char c; gotoxy(20,20); textcolor(4); cprintf("C"); textcolor(7); cout<<"ontinue"; gotoxy(39,20); textcolor(4); cprintf("B"); cout<<"ack"; gotoxy(55,20);
  • 19. P a g e | 15 textcolor(4); cprintf("E"); textcolor(7); cout<<"xit"; c=getch(); switch(c) { case 'c': case 'C': clrscr(); mod(); case 'b': case 'B': clrscr(); main(); case 'E': case 'e': exit(0); } }
  • 20. P a g e | 16 Delete Student Detail Before Delete
  • 21. P a g e | 17 After Deleted Coding:- void del() { bor(); char id[5]; gotoxy(25,6); cout<<"DELETE Student Detail"; gotoxy(25,8); cout<<"Enter id::"; cin>>id; f.open("std",ios::in); u.open("temp",ios::out); while(f.read((char *) &in,sizeof(in))) { if(strcmp(in.id,id)==0)
  • 22. P a g e | 18 { gotoxy(27,10); cout<<"Name::"<<in.n; gotoxy(27,11); cout<<"Class::"<<in.l; gotoxy(27,12); cout<<"City::"<<in.c; gotoxy(30,15); cout<<"Record DELETED"; } else { u.write((char *) &in,sizeof(in)); } } u.close(); f.close(); remove("std"); rename("temp","std"); char c; gotoxy(20,20); textcolor(4); cprintf("C"); textcolor(7); cout<<"ontinue"; gotoxy(39,20); textcolor(4); cprintf("B"); cout<<"ack"; gotoxy(55,20); textcolor(4); cprintf("E"); textcolor(7); cout<<"xit";
  • 23. P a g e | 19 c=getch(); switch(c) { case 'c': case 'C': clrscr(); del(); case 'b': case 'B': clrscr(); main(); case 'E': case 'e': exit(0); } }
  • 24. P a g e | 20 Search Student View Search Record
  • 25. P a g e | 21 Coding:- void search() { bor(); gotoxy(25,6); cout<<"SEARCH Student Details"; gotoxy(25,8); cout<<"Enter id::"; cin>>w.id; int c=0; f.open("std",ios::in); while(f.read((char *) &in,sizeof(in))) { if(strcmp(w.id,in.id)==0) { gotoxy(27,11); cout<<"Name::"<<in.n; gotoxy(27,13); cout<<"Class::"<<in.l; gotoxy(27,15); cout<<"City::"<<in.c; c=1; } } if(c==0) { gotoxy(27,15); cout<<"Data NOT found"; } char c1; gotoxy(20,20); textcolor(4); cprintf("C");
  • 26. P a g e | 22 textcolor(7); cout<<"ontinue"; gotoxy(39,20); textcolor(4); cprintf("B"); cout<<"ack"; gotoxy(55,20); textcolor(4); cprintf("E"); textcolor(7); cout<<"xit"; c1=getch(); switch(c1) { case 'c': case 'C': clrscr(); search(); case 'b': case 'B': clrscr(); main(); case 'E': case 'e': exit(0); } } }; clrscr(); file o; o.op(); getch(); }
  • 27. P a g e | 23 Thank you