Phone book with project report for BCA,MCASp Gurjar
"Phone Book" project with project report as well as all steps to help in making your own project and project report.
It is help-full for BCA,MCA,CSE, and BscIt & MscIT students for making their own project with report.
Cosmetics Shop Management System is a complete solution for managing a Shop, in other words, an enhanced tool that assists in organizing the day-to-day activities of a Shop. There is the need of an application for efficient management and handling customer orders. This Cosmetics Shop Management System keeps every record Shop and reducing paperwork
Phone book with project report for BCA,MCASp Gurjar
"Phone Book" project with project report as well as all steps to help in making your own project and project report.
It is help-full for BCA,MCA,CSE, and BscIt & MscIT students for making their own project with report.
Cosmetics Shop Management System is a complete solution for managing a Shop, in other words, an enhanced tool that assists in organizing the day-to-day activities of a Shop. There is the need of an application for efficient management and handling customer orders. This Cosmetics Shop Management System keeps every record Shop and reducing paperwork
THIS PROJECT CANTEEN MANAGEMENT SYSTEM IS FOR THE STUDENTS OF MCA,B.SC.IT,BCA AND STUDENTS OF COMPUTER SCIENCE.THIS PROJECT IS DESIGN IN PYTHON AND USES SQL AS A BACK-END TO STORE ALL THE INFORMATION'S.
Most of the sport management system is having problems like offline
registration, manage single tournament, manage statistics etc. To overcome all these
problems we are proposing the system STMS (Sport Tournament Management System)
with utilities like different tournament registration, automatic or manually match
scheduling, statistics for tournament, notification as reminder, maintaining log. In our
proposed system tournament owner will register in system and create new tournament.
Player can also register team member and player profile. Then System will schedule
the matches of the tournament. System will provide automatic or manual scheduling
Facility.System will provide a utility like notification as a reminder to the player before
match. It will avoid duplication of tournament for a player, team and game
The Computer Shop System is designed & developed for a computer shop to manage their records of selling and purchasing of the computer parts from the dealers and sell them to the customers. This system makes the work of the computer shopkeepers easy as it keeps all the records of the computer product and also keep the records of the product that is sold to the customers.
C Programming Projects -
1. Sort an array in ascending order.
2. Display sum of all odd values stored in an array.
3. Display number of even values stored in an array.
--
1. A file name is command line argument. Display the contents of the file where each word will be displayed on a new line. Display proper message if file does not exist.
2. Display no. of vowels stored in the file.
3. Display no. of “the” stored in the file.
4. Copy contents of the file to another file.
In this presentation, you will learn how to add NFC tag reading to an Android app. It registers for auto-starting when the user taps a specific NDEF NFC tag with the phone. In addition, the app reads the NDEF records from the tag.
Further instructions: https://www.andreasjakl.com/nfc-tags-ndef-and-android-with-kotlin/
Open source sample app: https://github.com/andijakl/NfcDemo
Final Year Project BCA Presentation on Pic-O-SticaSharath Raj
This slide is based on the final year project of BCA. Project was on Online image purchase and Sales System.
The system was developed using PHP at the frontend and Mysql at the Backend.
Image will be uploaded and will be watermarked. USer can buy or sell their lovely images.
In this system we will make extensive use of files system in C++.
We will have a login id system initially. In this system we will be having separate functions for
• Getting the information
• Getting customer information who are lodged in
• Allocating a room to the customer
• Checking the availability
• Displaying the features of the rooms.
• Preparing a billing function for the customer according to his room no.
In the software developed separate functions will be there for each of the above points so that there is ample scope for adding more features in the near future.
Download From Here : https://drive.google.com/folderview?id=0B5y_t4zL91BZaWRkY1VPeElJNVE&usp=sharing
THIS PROJECT CANTEEN MANAGEMENT SYSTEM IS FOR THE STUDENTS OF MCA,B.SC.IT,BCA AND STUDENTS OF COMPUTER SCIENCE.THIS PROJECT IS DESIGN IN PYTHON AND USES SQL AS A BACK-END TO STORE ALL THE INFORMATION'S.
Most of the sport management system is having problems like offline
registration, manage single tournament, manage statistics etc. To overcome all these
problems we are proposing the system STMS (Sport Tournament Management System)
with utilities like different tournament registration, automatic or manually match
scheduling, statistics for tournament, notification as reminder, maintaining log. In our
proposed system tournament owner will register in system and create new tournament.
Player can also register team member and player profile. Then System will schedule
the matches of the tournament. System will provide automatic or manual scheduling
Facility.System will provide a utility like notification as a reminder to the player before
match. It will avoid duplication of tournament for a player, team and game
The Computer Shop System is designed & developed for a computer shop to manage their records of selling and purchasing of the computer parts from the dealers and sell them to the customers. This system makes the work of the computer shopkeepers easy as it keeps all the records of the computer product and also keep the records of the product that is sold to the customers.
C Programming Projects -
1. Sort an array in ascending order.
2. Display sum of all odd values stored in an array.
3. Display number of even values stored in an array.
--
1. A file name is command line argument. Display the contents of the file where each word will be displayed on a new line. Display proper message if file does not exist.
2. Display no. of vowels stored in the file.
3. Display no. of “the” stored in the file.
4. Copy contents of the file to another file.
In this presentation, you will learn how to add NFC tag reading to an Android app. It registers for auto-starting when the user taps a specific NDEF NFC tag with the phone. In addition, the app reads the NDEF records from the tag.
Further instructions: https://www.andreasjakl.com/nfc-tags-ndef-and-android-with-kotlin/
Open source sample app: https://github.com/andijakl/NfcDemo
Final Year Project BCA Presentation on Pic-O-SticaSharath Raj
This slide is based on the final year project of BCA. Project was on Online image purchase and Sales System.
The system was developed using PHP at the frontend and Mysql at the Backend.
Image will be uploaded and will be watermarked. USer can buy or sell their lovely images.
In this system we will make extensive use of files system in C++.
We will have a login id system initially. In this system we will be having separate functions for
• Getting the information
• Getting customer information who are lodged in
• Allocating a room to the customer
• Checking the availability
• Displaying the features of the rooms.
• Preparing a billing function for the customer according to his room no.
In the software developed separate functions will be there for each of the above points so that there is ample scope for adding more features in the near future.
Download From Here : https://drive.google.com/folderview?id=0B5y_t4zL91BZaWRkY1VPeElJNVE&usp=sharing
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Vidhi Kishor
This software is basically a CD Management Software which can be used in a CDs Store. It keeps the record of all the CDs present in the CDs Store and we can also add more records for the fresh arrivals. This project can search the CDs available in the store, by various modes like Singer Name, CD Name, Release, and cost. It also has a unique feature of BACKUP to save all our records and also, if anything goes wrong, then we can restore our last backup file.
Petrol Station Safety Tips
This preso is the first one I have every created after one of my friends inspired me about how boring most of the presentation today are and how to create a different one.
Thanks go to him and all innovative and creative presentation designers like Jesse Desjardins.
Computer science Investigatory Project Class 12 C++Rushil Aggarwal
This project is based on File Handling . An innovative project on petrol pump management , deals with basic function in a petrol pump .
Do like , share and comment if my work helped you ;)
Presentation for
Vendor Contact Management Application
contact management system (CMS)
visit us : http://www.rankexpert.co.in
call us : +91 9004779900
---
About RankExpert !
RankExpert SEO Consultant Services
Commitment to deliver end-to-end IT solutions and services. We offer business-friendly solutions across all type of business.
Outsource your IT solutions to us based in Mumbai India.
Website development
Web applications for all type of Business
Mobile application developments
Customer relationship Management
SEO marketing
Increasing the visibility of your websites in search engines.
We help you achieve a successful target audience for your business
Email marketing solution
Hosting solutions
---
Know about CMS?
A CMS - contact manager is a software program that enables users to easily store and find contact information
such as names, addresses and telephone numbers.
contact-centric databases
integrated approach to tracking of all information and communication activities
several people in a company to access the same database
Centralized repository of contact information
Ready to use database with searching
Document management
Notes and conversation management
Import/export contact utility
---
How CMS works?
Contact Management Software
Create an electronic database of customers and business contacts. As companies have searched for ways to consolidate, streamline, and share customer information, client management software tools . Nowadays, contact management systems let people and businesses record and track customer, client, and supplier interactions, documents, and more.
Businesses have come to understand that they can boost productivity and lower costs by managing all this information with a single, integrated platform rather than a proliferation of client management software tools with different data collection schemes.
---
Getting Started !
What Can You Do With Contact Manager?
Track all contacts and related opportunities, activities, and other details from a centralized, shared database
Contact management software for any business entrepreneur to maintain their customer database.
online software to share and manage addresses and contacts
Keep Contact Information Accessible
Contact management software to store important contact information, like contact/company name, phone numbers, email and billing addresses, and notes. Your contacts’ critical information will be easily accessible online from any location.
---
What we will deliver to you
Affordable cost solutions
Develop the CMS web application
Design content and structure
Rights and roles management
Documents management
Contact Communication Management
Reports and analysis
Hosting and setup of application
Database maintenance
Application support
Computer science class 12 project on Super Market BillingHarsh Kumar
Certificate
--Declaration
--Acknowledgement
--Hardware and software requirements
--Classes and function used
--Header files used
--Files generated
--Working description
--Coding
--Output screen
--Bibliography
Class 12th computer science C++ coding for Banking System program.
Features in Program:
1. New Account
2. Deposit Amount
3. Withdraw Amount
4. All Account Holder List
5. Delete Account
6. Edit Account
7. Exit
physics all necessary practicals for class 12 cbse. VERY EASY.
ALL THE BEST FOR YOUR FUTURE EXAMS.
AND THIS FILE CAN HELP YOU TO GET 100% PRACTICAL MARKS.
The project looks at factors which impact landing distance of a commercial flight so as to minimize risk over run. SAS is used to perform exploratory data analysis and fit a regression model.
I am Daniel N. I am a C++ Homework Expert at cpphomeworkhelp.com. I hold a Masters in Programming from the University of Leeds, UK. I have been helping students with their homework for the past 10 years. I solve homework related to C++.
Visit cpphomeworkhelp.com or email info@cpphomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with C++ Homework.
Practical Class 12th (c++programs+sql queries and output)Aman Deep
Just download this and do some specific changes in the name section and roll no section . and submit it as it is to your teacher this will surely work and help you out your class 12th board practicals exam . no worries ! ENJOY :) !
Practical Class 12th (c++programs+sql queries and output) Aman Deep
Just download this and do some specific changes in the name section and roll no section . and submit it as it is to your teacher this will surely work and help you out your class 12th board practicals exam . no worries ! ENJOY :) !
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
1. This is to certify that the project entitled
Police station software
is prepared under my guidance and supervision by
NAME:-DHARMENDER LODHI
ROLL NUMBER: …………..
CLASS:XII A
SUBJECT: COMPUTER SCIENCE
SESSION:2013 - 2014.
SUBMITTED TO :- MR. AMIT
SIGNATURE:- …………..
1
2. Acknowledgment
I extend my deep sense of gratitude and sincere thanks to our
subject teacher Mr. Amit for his valuable support and guidance
in carrying my project work .
I also express my gratitude to all the faculty members, parents
and my fellow mates who have helped me to carry out this
work. Last but not the least, I thank my almighty God for His
blessing showed on me during this period .
Dharmender lodhi
2
3. CODING OF PROGRAM
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<fstream.h>
#include<string.h>
#include<stdlib.h>
#include<iomanip.h>
/****************************************************************************
*
Structure for Date
*
****************************************************************************/
struct date
{
int d;
int m;
int y;
};
/****************************************************************************
*
Structure for Details of Crime of Criminal
*
****************************************************************************/
struct court
{
char crime[20];
char act[20];
char cour[20];
char state[20];
};
/****************************************************************************
*
Structure for Physical Description of Criminal
*
****************************************************************************/
struct descp
{
char colour[20];
char face[20];
char imark[20];
char height[6];
};
//IDENTIFICATION MARKS(DEFORMITIES ETC.)
/****************************************************************************
*
Structure for Details of F.I.R.
*
3
4. ****************************************************************************/
struct police
{
char station[50];
char fir_no[10];
date date_arrest;
};
/****************************************************************************
*
Class ' CRIMINAL ' for getting all information about
*
*
Convict and
*
****************************************************************************/
class criminal
{
char name[20];
char sex[3];
char conno[10];
char age[4];
char address[50];
//ADDRESS OF CRIMINAL BEFORE ARREST.
court COURT;
police POLICE;
descp des;
public:
int ncheck(char arr[]); // FUNCTION TO CHECK THAT INPUT IS NOT
// NUMERIC.
int s_check(char a[]); // FUNCTION TO CHECK THAT THE INPUT FOR
// SEX HAS ONLY 1 CHARACTER IN M OR F ONLY
void input(void);
void output(void);
void delete_rec(char con_no[]);
int dcheck(char n[]);
void display();
void remove();
int menu();
void modify();
void list();
void empty();
int concheck(char b[]);
};
// ====================> End of Class
Criminal<=============================
/***************************************************************************
4
5. *
Function for Checking Weither Input is Correct
*
***************************************************************************/
int criminal::ncheck (char arr[])
{
int i=0;
while (arr[i]!='0')
{
if (((arr[i]>64)&&(arr[i]<92))||((arr[i]>95)&&(arr[i]<124))
||(arr[i]==' '))
{
i++;
continue;
}
else
{
cout<<"nINCORRECT INPUT. TRY AGAIN !!n ";
return 0;
}
}
return 1;
}
/**************************************************************************
*
Function to Check whether Sex is Given Correctly
**************************************************************************/
int criminal::s_check(char a[])
{
clrscr();
if(( (a[0]=='m')||(a[0]=='f')||(a[0]=='M')||(a[0]=='F'))&&(a[1]=='0') )
{
return(1);
}
else
{
cout<<"n INCORRECT INPUT ,TRY AGAIN ";
return(0);
}
}
5
*
6. /****************************************************************************
*
Function for getting Convicts Record
*
****************************************************************************/
void criminal::input(void)
{
clrscr();
this->empty();criminal x;
int c = 0 ;
fstream filin;
filin.open("jail.dat",ios::app|ios::binary);
while(!c)
{
cout<<"n ENTER THE CONVICT CODE : ";
gets(this->conno);
c=x.concheck(this->conno);
}
c=0;
while(!c)
{
cout<<"n ENTER NAME OF CONVICT : ";
gets(this->name);
c= ncheck(this->name);
}
c=0;
while(!c)
{
cout<<"n ENTER SEX : ";
gets(this->sex);
c =s_check(this->sex);
}
cout<<"n enter address : ";
gets(this->address);
cout<<"n ENTER AGE : ";
gets(this->age);
clrscr();
cout<<"n ENTER DESCRIPTION : nnt ";
c=0;
while(!c)
6
8. }
cout<<"ntt ACT (under which convicted) : ";
gets(this->COURT.act);
clrscr();
cout<<"n ENTER : nntt";
cout<<"ntt COMPLETE ADDRESS OF POLICE STATION : ";
gets(this->POLICE.station);
cout<<"ntt FIR NO. (under which convict was arressted): ";
gets(this->POLICE.fir_no);
cout<<"ntt ENTER DATE OF ARREST(dd/mm/yy) :";
c=0;
while(!c)
{
cout<<"nttttt day : ";
cin>>this->POLICE.date_arrest.d;
if((this->POLICE.date_arrest.d>31)||(this->POLICE.date_arrest.d<1))
{
cout<<"nn THIS DATE DOES NOT EXIST,TRY AGAIN!! ";
c=0;
}
else
c=1;
}
c=0;
while(!c)
{
cout<<"nttttt month : ";
cin>>this->POLICE.date_arrest.m;
if((this->POLICE.date_arrest.m>12)||(this->POLICE.date_arrest.m<1))
{
cout<<"nn THIS MONTH DOES NOT EXIST,TRY AGAIN!! ";
c=0;continue;
}
else
c=1;
if((this->POLICE.date_arrest.d==31) &&((this->POLICE.date_arrest.m==2) || (this>POLICE.date_arrest.m==4) ||( this->POLICE.date_arrest.m==6) ||( this>POLICE.date_arrest.m==9) || (this->POLICE.date_arrest.m==11)))
{
cout<<"n THIS MONTH DOES NOT HAVE 31 DAYS n TRY AGAIN !! ";
c=0;
}
else
c=1;
8
9. }
c=0;
while(!c)
{
cout<<"nttttt year(in 4 digits) : ";
cin>>this->POLICE.date_arrest.y;
if((this->POLICE.date_arrest.y <= 1930)||(this->POLICE.date_arrest.y>2008) )
{
cout<<"n INCORRECT INPUT n TRY AGAIN!!n" ;
c=0;
}
else
c=1;
}
char ch;
do{
cout<<"n DO YOU WANT TO SAVE THIS INFORMATION(enter y or n) ";
cin>>ch;
if(ch=='y'||ch=='Y')
{
cout<<"nnt< RECORD HAS BEEN SAVED >";
filin.write((char*)this,sizeof(criminal));
}
else
{
if((ch!='n')&&(ch!='N'))
{
cout<<"n ENTER CORRECTLY n TRY AGAIN !! ";
}
}
} while((ch!='y')&&(ch!='Y')&&(ch!='n')&&(ch!='N'));
filin.close();
}//End of input functio
/***************************************************************************
*
Function for showing Convict's Record
*
***************************************************************************/
void criminal::output()
{
clrscr();
9
10. cout<<"@@@@@@@@@@@@@PERSONAL RECORD OF CONVICT
NO@@@@@@@@@@@@@@@@@@@@@@@@@@";
cout<<"nnCONVICT NO
:t";
puts(conno);
cout<<"nNAME
:t";
puts(this->name);
cout<<"nSEX
:t"<<this->sex;
cout<<"nnADDRESS
:t";
puts(this->address);
cout<<"nAGE
:t";
puts(this->age);
cout<<"nnDESCRIPTIONn";
cout<<"n1. COLOUR
:t";
puts(this->des.colour);
cout<<"n2. FACE
:t";
puts(this->des.face);
cout<<"n3. IDENTIFICATION MARK :t";
puts(this->des.imark);
cout<<"n4. HEIGHT
:t";
puts(this->des.height);
cout<<"nnnntttttpress a key to continue....";
getche();
clrscr();
cout<<"@@@@@@@@@@@@ CRIMINAL RECORD
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@";
cout<<"nnCOURT INFORMATIONnn ";
cout<<"n1. COURT FROM WHICH CONVICTED :t";
puts(this->COURT.cour);
cout<<"n2. STATE
:t";
puts(this->COURT.state);
cout<<"n3. CRIME
:t";
puts(this->COURT.crime);
cout<<"n4. ACT UNDER WHICH CONVICTED :t";
puts(this->COURT.act);
cout<<"nnnnnntttttt press a key to continue....";
getche();
clrscr();
cout<<"@@@@@@@@@@@@ CRIMINAL RECORD
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@";
cout<<"nnnPOLICE INFORMATION nn";
cout<<"n1. FIR NO.
:t";puts(this->POLICE.fir_no);
cout<<"n2. DATE OF ARREST
:t"<<this->POLICE.date_arrest.d<<"/"
<<POLICE.date_arrest.m<<"/"<<this->POLICE.date_arrest.y;
cout<<"nn3. POLICE STATION(where fir was lodged) :t";
puts(this->POLICE.station);
cout<<"nnnnntttttt press a key to continue....";
getche();
10
11. clrscr();
}//end of output function
/***************************************************************************
*
Function for Deleting The Record OF A Convict
*
***************************************************************************/
void criminal::delete_rec(char con_no[])
{
fstream filin;
filin.open("jail.dat",ios::in|ios::ate);
int q=filin.tellg();
int c=q/sizeof(criminal);
fstream temp;
temp.open("temp.dat",ios::out);
filin.seekg(0,ios::beg);
for(int i=0;i<c;i++)
{
filin.read((char*)this,sizeof(criminal));
if(strcmp(con_no,conno)!=0)
temp.write((char*)this,sizeof(criminal));
}
filin.close();
temp.close();
filin.open("jail.dat",ios::out);
temp.open("temp.dat",ios::in|ios::ate);
int a=temp.tellg();
int size=a/sizeof(criminal);
temp.seekg(0,ios::beg);
for(int k=0;k<size;k++)
{
temp.read((char*)this,sizeof(criminal));
filin.write((char*)this,sizeof(criminal));
}
filin.close();
temp.close();
cout<<"nn < THE RECORD HAS BEEN DELETED >";
}
//--------------------------------------------------------------------------int criminal::dcheck(char n[])
{
clrscr();
fstream file;
11
12. file.open("jail.dat",ios::in|ios::ate|ios::binary);
int x=0;int count=0,c;
int q=file.tellg();
c=q/sizeof(criminal);
file.close();
file.open("jail.dat",ios::in|ios::binary);
for(int i=0;i<c;i++)
{
file.read((char*)this,sizeof(criminal));
count++;
if(strcmp(n,conno)==0)
{
x++;
break;
}
}
if(x==0)
{
cout<<"n CONVICT NOT FOUND!! ";
return 0;
}
else
{
return count;
}
file.
close();
}
//---------------------------------------------------------------------------------void criminal::display()
{ clrscr();
char N[10];
int rec;
int loc;
cout<<"n ENTER THE CONVICT CODE OF CONVICT ";
cout<<" WHOSE INFORMATION YOU WANT :";
gets(N);
fstream file;
rec= this->dcheck(N);
file.open("jail.dat",ios::in|ios::binary);
if(rec!=0)
12
14. clrscr();fstream file ;char
npdr[10],ncrime[10],nact[10],nstate[10],ncourt[10],nstat[10],nfir[10];
char str[10],nprd[15],cno[10];
int check,loc;
criminal x;
date D;
cout<<"n MODIFICATION FUNCTION ";
cout<<"nENTER THE CONVICT NUMBER OF THE CONVICT ,TO BE MODIFIED: ";
gets(str);
check=this->dcheck(str);
if(check!=0)
{
file.open("jail.dat",ios::out|ios::ate);
int d=0;
while(!d)
{
cout<<"n ENTER THE MODIFIED CONVICT NO :";
gets(cno);
d= x.concheck(cno);
}
strcpy(conno,cno);
cout<<"n ENTER THE MODIFIED CRIME :";
gets(ncrime);
strcpy(COURT.crime,ncrime);
cout<<"n ENTER THE MODIFIED COURT RECORD: ";
cout<<"n ACT :";
gets(nact);
strcpy(COURT.act,nact);
cout<<"nSTATE : ";
gets(nstate);
strcpy(COURT.state,nstate);
cout<<"nCOURT : ";
gets(ncourt);
strcpy(COURT.cour,ncourt);
clrscr();
cout<<"n ENTER THE MODIFIED POLICE RECORD ";
cout<<"n STATION : ";
gets(nstat);
strcpy(POLICE.station,nstat);
cout<<"nFIR NO : ";
gets(nfir);
strcpy(POLICE.fir_no,nfir);
cout<<"n DATE OF ARREST(dd,mm,yyyy) ";
int c=0;
while(!c)
{
cout<<"nttttt day : ";
14
15. cin>>D.d;
if((D.d>31)||(D.d<1))
{
cout<<"nn THIS DATE DOES NOT EXIST,TRY AGAIN!! ";
c=0;
}
else
c=1;
}
c=0;
while(!c)
{
cout<<"nttttt month : ";
cin>>D.m;
if((D.m>12)||(D.m<1))
{
cout<<"nn THIS MONTH DOES NOT EXIST,TRY AGAIN!! ";
c=0;continue;
}
else
c=1;
if((D.d==31) &&((D.m==2) || (D.m==4) ||( D.m==6) ||( D.m==9) || (D.m==11)))
{
cout<<"n THIS MONTH DOES NOT HAVE 31 DAYS n TRY AGAIN !! ";
c=0;
}
else
c=1;
}
c=0;
while(!c)
{
cout<<"nttttt year(in 4 digits) : ";
cin>>D.y;
if((D.y <= 1930)||(D.y>2009) )
{
cout<<"n INCORRECT INPUT n TRY AGAIN!!n" ;
c=0;
}
else
c=1;
}
POLICE.date_arrest.d=D.d;
POLICE.date_arrest.m=D.m;
POLICE.date_arrest.y=D.y;
15
16. loc=(check-1)*sizeof(criminal);
file.seekp(loc);
file.write((char*)this,sizeof(criminal));
file.close();
}
}
//--------------------------------------------------------------------------------------------void criminal::list()
{ clrscr();
int j ;
fstream file;
file.open("jail.dat",ios::in|ios::ate|ios::binary);
int q=file.tellg();
int c=q/sizeof(criminal);
file.seekg(0);
cout<<"
"<<endl;
cout<<"
"<<endl;
cout<<"
CONVICT LIST "<<endl;
cout<<"
"<<endl;
cout<<"
"<<endl;
cout<<"n=============================================================
==================="<<endl;
cout<<"SNOtNAMEtttCONVICT NO.tttCRIME"<<endl;
cout<<"===============================================================
================="<<endl;
int i=0;
while(file.read((char*)this,sizeof(criminal)))
{ i++;
cout<<i<<"
";
for( j=0;j<strlen(this->name);j++)
cout<<this->name[j];
cout<<"ttt ";
for(j=0;j<strlen(this->conno);j++)
cout<<this->conno[j];
cout<<"ttt
";
for(j=0;j<strlen(this->COURT.crime);j++)
cout<<this->COURT.crime[j];
cout<<"n--------------------------------------------------------------------------------n";
if((i%3)==0&&(i!=c))
{
cout<<"Press a key to continue...........";
getch();
clrscr();
16
18. //---------------------------------------------------------------------------------------------------------int criminal::concheck(char b[])
{
fstream file;char a[10];
int check=0;
file.open("jail.dat",ios::in|ios::ate);
int q=file.tellg();
int size=q/sizeof(criminal);
file.seekg(0,ios::beg);
for(int i=0;i<size;i++)
{
file.read((char*)this,sizeof(criminal));
strcpy(a,conno);
if(strcmp(b,a)==0)
{
check+=1;
break;
}
}
if(check==0)
{return(10);}
else
{
cout<<"n GIVEN CONVICT CODE ALREADY EXISTS!! "<<endl;
return(0);
}
file.close();
}
void main()
{
clrscr(); int x;
for(int i=0;i<3;i++)
{ clrscr();
cout<<"nCRIMINAL RECORD .nnttt< by DHARMENDER
LODHI>nnnnnnnntttt";
cout<<"ENTER PASSWORD..";
char*pass;
cin>>pass;
x=strcmp(pass,"123");
if(x==0)
{
break;
}
else
18
19. {
cout<<"a";
}
}
if(x==0)
{
int choice,ans='y';
criminal l;
while((ans=='y'|| ans=='Y'))
{
choice= l.menu();
switch(choice)
{
case 1:l.input();
break;
case 2 :l.modify();
break;
case 3:l.display();
break;
case 4:l.remove() ;
break;
case 5: l.list();
break;
case 6:
exit(0);
}
cout<<"nnnDO YOU WANT TO CONTINUE(press y to continue)..";
ans=getch();
if(ans=='y'||ans=='Y')
continue;
}
}}
19
32. BOOKS:
Computer science with c++ by Sumita
Arora
Object oriented programming with c++
by E Balagurusamy
INTERNET:
www.icbse.com
www.cbseportal.com
www.c++projects.com
32