Computer Science
Computer Science
PROJECT FILE
__________________
acknowledgement
-Abhay Pandey
Hardware and Software
Specifications:
The program is developed on Intel i3 processor with 2GB
RAM, Window 7 operating system. Compiler used turbo
C++ vr.2.3
Minimum hardware requirements:
Processor: Pentium III
Ram: 512 MB
Hard disk: 20 GB.
Inject Printer, to print the required documents of the
Project
Compact Drive
Software requirements:
Operating system: Windows XP
Ms Word, for presentation of output.
Borland C++ vr.6.3, for execution of program.
Content At Glance
1. Abstract
2. Class DESCRIPTION
3. How To Invoke System
4. Source Code
5. Output
6. Scope For Improvement
7. Bibliography
Abstract:
It consists functions:
The program consist one class named account with private
data members name,address,account no as acc_no,phone no as
ph_no.
//**********************************************************
//CLASS USED IN PROJECT
//**********************************************************
class account
{
char name[30];
char address[60];
long acc_no;
long phone_no;
public:
void add();
void modify();
void del();
void display();
void generate();
void help();
};
account obj;
int bil_ctr=1; //Counter variable for bill id
/*Function for counting number of digits in an integer*/
int numdigits(long n)
{
return(log10(n)+1);
}
/*Function for converting a month’s value from integer to string*/
char *mon(int m)
{
switch(m)
{
case(1):
return(“Jan”);
case(2):
return(“Feb”);
case(3):
return(“Mar”);
case(4):
return(“Apr”);
case(5):
return(“May”);
case(6):
return(“Jun”);
case(7):
return(“Jul”);
case(8):
return(“Aug”);
case(9):
return(“Sep”);
case(10):
return(“Oct”);
case(11):
return(“Nov”);
case(12):
return(“Dec”);
}
}
do
{
clrscr();
gotoxy(30,5);
cout<<“Supreme Telecom Pvt. Ltd.”;
gotoxy(30,6);
cout<<“_________________________”;
gotoxy(30,8);
cout<<“‘A’dd new record”;
gotoxy(30,10);
cout<<“‘M’odify existing record”;
gotoxy(30,12);
cout<<“‘D’elete existing record”;
gotoxy(30,14);
cout<<“‘E’xit”;
gotoxy(30,30);
cout<<“Enter your choice”;
ch2=getch();
ch2=toupper(ch2);
switch(ch2)
{
case(‘A’):
obj.add();
break;
case(‘M’):
obj.modify();
break;
case(‘D’):
obj.del();
break;
case(‘E’):
break;
} //End of inner switch-case block
}while(ch2!=‘E’); //End of do-while block
} //End of outer switch-case block
} //End of while block
} //End of main()
//****************************End of
help()******************************//
//***************************************************************
*****//
//********************End Of
Program***********************************//
//
****************************************************************
****//
Application Output
The Manage Customer record system
Adding Customer Records
Also, it can
The be merged
reliability with different
of software could bedepartments ofwhen
increased as company.
a
wrong or unwanted input is given it gives wrong entry.
The output of software could be made come out in form of
hardcopy or printout, which could also ask for conforming
to print or not. Not only this, the output can be made out
more colourful rather than just black and white.
bibliography
1. Internet
2. Google
3. Computer science With
C++ by Sumita Arora