company placement mgt in c++
TRANSCRIPT
Company placement management system
TERM PAPER
ON
Company placement management
SUBMITTED TO: SUBMITTED BY:-Mr.Sandeep sharma JASPREET KAUR
ROLL NO:-B32
SECTION:-D1207
REG.NO:-11208872
1
Company placement management system
Index1. Acknowledgement………………………………………………………………..3
2. Introduction………………………………………………………………………..4
3. Program Management system………………………………………………….5
4. System requirement……………………………………………………………..6
5. Coding…………………………………………………………………………7-14
6. Snap short……………………………………………………………………15-16
7. Testing……………………………………………………………………………17
2
Company placement management system
AcknowledgementIt is not until you undertake the project like this one that you realize how massive the effort it really is, or how much you must rely upon the Selfless efforts and goodwill of others. There are many who helped us with this project, and we want to thank them all from the core of our Hearts.
We owe special words of thanks to our Teachers Mr.Sandeep Sharma for their vision, thoughtful counseling and encouragement at every step of the project. We are also thankful to the teachers of the Department for giving us the best of knowledge and guidance throughout the project.
And last but not the least, we find no words to acknowledge the financial assistance & moral support rendered by our parents in making the effort a success. All this has become reality because of their blessings and above all by the grace of god.
INTRODUCTION
3
Company placement management system
We have discussed so far various features of C language and are ready to write and execute program of modest complexity. However, before attempting to develop complex programs, it is worthwhile to consider some programming techniques that would help design efficient and error free.
The program development process includes three important stages, namely, program design, program coding and program testing. All the three stages contribute to the production of high quality program.
In “company placement Management System” we have done system design, source coding, and program testing and added many more features to facilitate the user with the best. We have given the user the facility to enter the Student’s record and see whether the user is provided with the complete information.
We can improve the efficiency of the system, thus overcome the drawbacks of the existing system.· Less human error· Strength and strain of registers and papers can be reduced · High security· Data consistency· Easy to handle· Easy data updating · Easy record keeping· Backup data can be easily generated
4
Company placement management system
Introduction of program Management system
We can make this Student record management system in C language by using three or more than three header files or many data types such as:
1. #include<stdio.h> : this header file will contain Scanf() , Printf () And, there are many header files which are used in this program….
2. #include<conio.h>: this header file will contain Clrscr(); , Getch(); , and many more….
#include<string.h> : this header file will contain string function.
#include<ctype .h>
SYSTEM REQUIREMENTS
5
Company placement management system
Operating System: Windows 2000/7/NT/Xp/Vista
RAM: 256 MB or more
HARD DISK 40 GB or more
Processor P3 or High
Compiler Standard C++ Compiler
CODING
6
Company placement management system
#include<iostream.h>
#include<fstream.h>
#include<string.h>
#include<stdio.h>
#include<conio.h>
ofstream fp;
ifstream file;
class company
{
char name[20];
int reg;
char qua[20];
char mob[20];
char e_mail[20];
float cgpa;
public:
company()
{
reg=0;
}
void input();
void show();
void search();
void elligible();
7
Company placement management system
};
company obj;
void main()
{
int i;
char s;
clrscr();
cout<<" **************************************************\n";
cout<<" * *\n";
cout<<" * WELCOME TO company placement MANAGEMENT SYSYTEM *\n";
cout<<" * *\n";
cout<<" **************************************************\n";
while(1)
{
cout<<"\n 1.ADD DETAIL OF CANDIDATE";
cout<<"\n 2.SEARCH THE CANDIDATE DETAIL";
cout<<"\n 3.FOR SHOW ALL RECORDS";
cout<<"\n 4.ELLIGIBLE STUDENTS";
cout<<"\n 5.EXIT";
cout<<"\n ENTER YOUR CHOISE";
cin>>i;
switch(i)
{
case 1:
obj.input();
8
Company placement management system
break;
case 2:
obj.search();
break;
case 3:
obj.show();
break;
case 4:
obj.elligible();
break;
case 5:
return;
default:
cout<<"\n enter correct choise" ;
break;
}
cout<<"\n do you want to continue press any key!!!!!!!!!!!!!";
cin>>s;
if(s=='n')
break;
}
getch();
}
void company::input()
{
9
Company placement management system
fp.open("a.doc",ios::app);
cout<<"\n enter the reg no:";
cin>>reg;
cout<<"\n name of the candidate";
cin>>name;
cout<<"enter the qualifaction: ";
cin>>qua;
cout<<"enter the cgpa: " ;
cin>>cgpa;
cout<<"enter the mobile no";
cin>>mob;
cout<<"enter the e-mail id of candidate";
cin>>e_mail;
fp.write((char *)&obj,sizeof(obj));
fp.close();
}
void company::search()
{
int flash=0;
char naam[30];
cout<<"\nenter the name who's information you want to show";
cin>>naam;
file.open("a.doc");
file.seekg(0);
if(fp.eof()!=0)
10
Company placement management system
cout<<"\n no such file exist";
else
{
while(file.read((char *)&obj,sizeof(obj)))
{
if((strcmp(naam,name))==0)
{
flash=1;
cout<<"\n registration no= "<<reg ;
cout<<"\n name of candidate= "<<name;
cout<<"\n qualification of candidate= "<<qua;
cout<<"\n mobile no of candidate= "<<mob;
cout<<"\n cgpa of candidate= "<<cgpa;
cout<<"\n email id of candidate= "<<e_mail;
break;
}
}
file.close();
}
if(flash==0)
cout<<"\n no such customer exist";
}
11
Company placement management system
void company::show()
{
int flash=0;
file.open("a.doc");
file.seekg(0);
if(file.eof()!=0)
cout<<"\n no such file exist";
else
{
while(file.read((char*)&obj,sizeof(obj)))
{
flash=1;
cout<<"\nname ="<<name;
cout<<"\nreg= "<<reg;
cout<<"\n mobile number= "<<mob;
cout<<"\n cgpa= "<<cgpa;
cout<<"\n email id= "<<e_mail;
cout<<"\n qualification= "<<qua;
}
file.close();
}
if(flash==0)
cout<<"\n no such file exist";
}
void company::elligible()
12
Company placement management system
{
int s;
int flash=0;
cout<<"\n enter the elligibility criteria";
cin>>s;
file.open("a.doc");
file.seekg(0);
if(file.eof()!=0)
cout<<"\n no record exiits ";
else{
while(file.read((char*)&obj,sizeof(obj)))
{
if(cgpa>s)
{
flash=1;
cout<<"\n name= "<<name;
cout<<"\n registration no= "<<reg;
cout<<"\n mobile number="<<mob;
cout<<"\n cgpa= "<<cgpa;
cout<<"\n qualification= "<<qua;
cout<<"\n email id= "<<e_mail;
}
}
file.close();
}
13
Company placement management system
if(flash==0)
cout<<"\n no student has elligibilty";
}
SNAP SHORT
14
Company placement management system
15
Company placement management system
TESTING
16
Company placement management system
The source code declared above for the program of company placement management system has been tested and it has been found that the above source code is okay and correct .the program involves much types of conversions, these conversions has to done carefully.
Mainly testing are
1. System testing
2. Integration testing
System testing involves whole testing of program at once and integration testing involves the breaking of program into modules 7 then test.
17