0% found this document useful (0 votes)
106 views32 pages

Project Report SESSION 2016-2017

This document is a project report submitted by Dhaval H Solanki, a class 12 student, on a library management system developed using C++. The report includes an introduction to the project, source code of the program with explanations of functions used, sample outputs, and a conclusion. It aims to automate operations of a school library such as creating user cards, viewing book collections, and leaving reviews.

Uploaded by

1dhaval11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views32 pages

Project Report SESSION 2016-2017

This document is a project report submitted by Dhaval H Solanki, a class 12 student, on a library management system developed using C++. The report includes an introduction to the project, source code of the program with explanations of functions used, sample outputs, and a conclusion. It aims to automate operations of a school library such as creating user cards, viewing book collections, and leaving reviews.

Uploaded by

1dhaval11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 32

PROJECT REPORT

SESSION 2016-2017
A PROJECT REPORT ON
LIBRARY MANAGEMENT

SUBMITTED BY: DHAVAL.H.SOLANKI


CLASS: XII-C
ROLL NO: 06
SUMBMITTED TO
DEPARTMENT OF
COMPUTER SCIENCE A.E.C.S

CERTIFICATE
THIS IS TO CERTIFY THAT DHAVAL.H.SOLANKI STUDENT OF CLASS
XII-C, A.E.C.S KAKRAPAR HAS SUCCESSFULLY COMPLETED THE
REQUIRED PROJECT WORK ON SCHOOL LIBRARY USING C++
DURING THE ACADEMIC SESSION 2016-17 TOWARD PARTIAL
FULFILLMENT OF CREDIT FOR COMPUTER SCIENCE PRACTICAL
EVALUATION, UNDER MY SUPERVISION.

________________________
Mrs. MRUDULA
(PGT COMPUTER SCIENCE)

SR NO.

CONTENT

1.

ACKNOWLEDGEMENT

2.

INTRODUCTION

3.

SOURCE CODE

4.

OUTPUT

5.

CONCLUSION,BIBLOGRAPHY

INDEX

TEACHERS SIGNATURE:-

ACKNOWLEDGEMENT
I DHAVAL.H.SOLANKI, ROLL NO. 06, CLASS XII-C, AM SUBMITTING
THIS COPY OF COMPUTER PROJECT IN THE GIVEN TIME OF ACADEMIC
SESSION 2016-17.THIS PROJECT WORK I HAVE COMPLETED WITH
THESE PARTNERS.
NAME

ROLLNO.

CLASS

SIDHARTH SINGH
KANISHK BHARDWAJ
JAY.D.PATEL

XI-C
18

XI-C
12

XI-C

I THANK OUR COMPUTER PGT Mrs. MRUDULA MAM FOR GUIDING ME


& WHO GAVE ME THE GOLDEN OPPORTUNITY TO DO THIS
WONDERFUL PROJECT WHICH ALSO HELPED ME IN DOING A LOT OF
RESEARCH AND I CAME TO KNOW ABOUT SO MANY NEW THINGS . I
AM REALLY THANKFUL TO HER.
I WOULD ALSO LIKE TO THANK MY FRIENDS WHO HELPED ME A LOT
IN FINISHING THIS PROJECT WITHIN THE LIMITED TIME.

INTRODUCTION
This project is based on the concept of SCHOOL LIBRARY. The
project is written in C++ language and has these many options to
choose from :

1. CREATE CARD
2. SEE
CARDS
3. READ BOOKS
4. REVIEW
5. ABOUT LIBRAYRY
6.
NEWS
7. EXIT
It also has a test having 10 Questions based on above
topics.

This program consists of a few books, articles , review books


forum.
Technical details:A list of functions used in the program with their work is given
below:Sr no. Name of function

Work

1.

cad()

To make library card.

2.

disp()

To display library card.

3.

books()

To show the library books.

4.

display()

To display the categories of books.

5.

getdata()

To get reviews on books.

6.

read()

To read reviews on books.

The header files used are:#include<iostream.h>


#include<conio.h>
#include<stdio.h>
#include<string.h>

#include<fstream.h>

SOURCE CODE
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<fstream.h>
class card
{
char name[20],dob[15],favb[30],fava[15];
int card_no,clss;
public:
void cad()
{ cout<<"lets make your card"<<endl;
cout<<"enter your name "<<endl;
gets(name);
cout<<"enter your date of birth"<<endl;
gets(dob);
cout<<"enter your favourite book"<<endl;
gets(favb);
cout<<"enter your favorite author"<<endl;
gets(fava);
cout<<"enter your current class"<<endl;
cin>>clss;
cout<<"**************THANK YOU ******************"<<endl;

cout<<"*************ENJOY READING****************"<<endl;
getch();
}
void disp()
{
cout<<"hello reader"<<" your card looks like this"<<endl;
cout<<"NAME :"<<name<<endl;
cout<<"DATE OF BITRTH :"<<dob<<endl;
cout<<"CLASS :"<<clss<<endl;
cout<<"FAVOURITE BOOK :"<<favb<<endl;
cout<<"FAVOURITE AUTHOR :"<<fava<<endl;
getch();
}
};
class bookshelf
{ int j;
public:
void books()
{ clrscr();
cout<<" these are the categories select one"<<endl;
cout<<"1.poems"<<endl;
cout<<"2.recipe books"<<endl;
cout<<"3.health & fitness "<<endl;
cout<<"choice:";
cin>>j;
getch();

}
void display()
{ clrscr();
cout<<"okay we have this many books "<<endl;
switch(j)
{ case 1:cout<<"1.Paradise Lost Poem by John Milton "<<endl;
cout<<"2.kabir poem"<<endl;
cout<<"3.nursery rhymes"<<endl;
cout<<"4.shakespeare's sonnet"<<endl;
cout<<"now enter your choice:";
cin>>j;
switch(j)
{ case 1:clrscr();
cout<<"Rain on the green grass,Rain on the tree";
cout<< "Rain on the rooftops,But not on me. "<<endl;
getch();
break;
case 2:clrscr();
cout<<" Bura Jo Dekhan Main Chala, Bura Naa Milya Koye Jo Munn
Khoja Apnaa, To Mujhse Bura Naa Koye"<<endl;
cout<<endl<<endl<<endl<<endl<<endl<<"\t\t\t\t********* page
1*******";
getch();
clrscr();
cout<<" Kaal Kare So Aaj Kar, Aaj Kare So Ub Pal Mein Pralaya Hoyegi,
Bahuri Karoge Kub"<<endl;

cout<<endl<<endl<<endl<<endl<<endl<<"\t\t\t\t********* page
2*******";
getch();
clrscr();
cout<<"Aisee Vani Boliye, Mun Ka Aapa Khoye Apna Tan Sheetal Kare, Auran
Ko Sukh Hoye"<<endl;
cout<<endl<<endl<<endl<<endl<<endl<<"\t\t\t\t********* page 3*******";
getch();
clrscr();
cout<<" Mangan Maran Saman Hai, Mat Koi Mange Beekh Mangan Se Marna
Bhala, Yeh Satguru Ki Seekh"<<endl;
cout<<endl<<endl<<endl<<endl<<endl<<"\t\t\t\t********* page 4*******";
getch();
clrscr();
getch();
break;
case 3:clrscr();
cout<<"If you are happy and you know it Clap your hands 1-2-3-4
{2}and you really want to";
cout<<"show it If you are happy and you know it Clap your hands 12-3-4 {2}If you are happy and you know it"<<endl;
getch();
break;
case 4:clrscr();
cout<<" Bada Hua To Kya Hua, Jaise Ped Khajoor Panthi Ko Chaya
Nahin, Phal Laage Atidoor "<<endl;
cout<<" Jaise Til Mein Tel Hai, Jyon Chakmak Mein Aag Tera Sayeen
Tujh Mein Hai, Tu Jaag Sake To Jaag"<<endl;

getch();
break;

}
break;
case 2: clrscr();
cout<<"1.The Joy of Cooking Book by Irma S. Rombauer"<<endl;
cout<<"2.easy cooking"<<endl;
cout<<"3.non veg cooking"<<endl;
cout<<"4.cakes"<<endl;
cout<<"5.ice creams"<<endl;
cin>>j;

switch(j)
{ case 1:clrscr();
cout<<"Boil water, add Maggi noodles and the tastemaker. Allow the
Maggi to cook";
cout<<" in the meanwhile take out onion flakes. Put some olive oil in
a pan";
cout<<" and saute the onion flakes. You can also add garlic pieces
"<<endl;
getch();
break;
case 2:clrscr();

cout<<"1.Boil a jug of water."<<endl;


cout<<"2.Place the tea leaves inside a tea bowl Squeeze some fresh
lemons.";
cout<<"3.Stir well dd a cup of sugar (the amount depends on your taste
and the quantity of water)."<<endl;
cout<<"4. Stir well pour the lemon tea into a glass Serve with
snacks"<<endl;
getch();
break;
case 3:clrscr();
cout<<"1.eggs"<<endl<<"2.chicken"<<endl<<"3.prawns"<<endl;
getch();
break;
case 4:clrscr();
cout<<"sorry we dont have a cake recipe today order one from
monginies "<<endl;
getch();
break;
case 5:clrscr();
cout<<"1.vanilla"<<endl<<"2.strawberry"<<endl;
getch();
break;
}
break;
case 3:clrscr();
cout<<"1.7 Lower Ab Exercises to Strengthen Your Core

"<<endl<<"2.pushups"<<endl;
cin>>j;
switch(j)
{ case 1:clrscr();
cout<<"1. Bear Crawls"<<endl<<endl<<endl;
cout<<"How to: Start on all-fours, then lift your knees a few inches
off the floor<<endl;
cout<<"(a).Keeping your knees elevated, move your right hand and
left foot one step forward"<<endl;
cout<<"(b).Then move your left hand and right foot one step
forward"<<endl;
cout<<"(c).Keep walking forward or if you have limited space, step
backward with opposite hands and feet"<<endl;
cout<<"(d). Repeat for 10 reps"<<endl<<endl<<endl;
cout<<"Pro tip: This move works your entire core, but to really target
the deep transverse abdominis";
cout<<"(which cinch your waist), make sure you draw your navel in
and maintain a neutral spine. "<<endl;
cout<<endl<<endl<<endl<<endl<<endl<<"\t\t\t\t ********* page
1*******";
getch();
clrscr();
cout<<"2. Modified V-Ups "<<endl<<endl<<endl;
cout<<"How to: Sit down on the floor, knees bent and feet flat;
cout<<" Lean your upper body backward, so its about 45 degrees from
the floor"<<endl;
cout<<"(a).Bring your knees into your chest, shins parallel to the floor
and arms straight in front of you"<<endl;

cout<<"(b).Extend your legs straight out so your feet reach just a few
inches off the floor"<<endl;
cout<<"(c).Bring your knees back into your chest and repeat for 10
reps"<<endl;
cout<<"Pro tip: Intensify this exercise by keeping your knees straight";
cout<<" as you lift your legs and as you lower them, slowly drop your
";
cout<<"upper body back toward the floor as well. Youll complete a
full V sit-up."<<endl;
cout<<endl<<endl<<endl<<endl<<endl<<"\t\t\t\t ********page 2
*******";
getch();
break;
case 2: cout<<"pushups is an easy exercise"<<endl;
cout<<"follow these steps";
cout<<"Get into a high plank position";
cout<<"Place your hands firmly on the ground, directly under Lower
shoulders your body.";
cout<<" Begin to lower your bodykeeping your back flat and eyes
focused about ";
cout<<"three feet in front of you to keep a neutral neckuntil";
cout<<"your chest grazes the floor Push back up Lower
your body"<<endl;
getch();
break; }
}
}
};

class review
{
public:
char title[25],rew[100];
void getdata()
{ clrscr();
gets(title);
cout<<"now enter your review"<<endl;
gets(rew);
cout<<"***************** thank you **********"<<endl;
cout<<"************ keep reading ************"<<endl;
getch();
void read()
{ clscr();
puts(rew);
getch();
}
};
int j,i,k;
void main()
{ review rev[20];
MM: clrscr();
cout<<"***********************READERS ROOM
*****************"<<endl;
cout<<"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXX"<<endl;

cout<<"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXX 1. CREATE CARD
XXXXXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXX 2. SEE CARDS
XXXXXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXX 3. READ BOOKS
XXXXXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXX 4. REVIEW
XXXXXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXX 5. ABOUT LIBRAYRY
XXXXXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXX 6. NEWS
XXXXXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXX 7. EXIT
XXXXXXXXXXXXXXXXX"<<endl;
cout<<"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXX"<<endl;
char chc,news[200],news1[200];
card card[50];
bookshelf book;
cout<<"enter your choice "<<endl;
cin>>i;
switch(i)
{ case 1: clrscr();
for(j=0;j<50;j++)
{ if(j==0)
cout<<"you can make upto 50 cards"<<endl;
cout<<"this card will have "<<j+1<<" card no"<<endl;

card[i].cad();
cout<<"if your done with cards you can exit type Q:"<<endl;
cin>>chc;
if(chc=='Q'||chc=='q')
break;
}
getch();
goto MM;
case 2: clrscr();
cout<<"enter your card number"<<endl;
cin>>j
card[j-1].disp();
getch();
goto MM;
case 3: clrscr();
book.books();
book.display();
getch();
goto MM;
case 4: clrscr();
cout<<"1.give review"<<endl<<"2.read review"<<endl;
cin>>k;
if(k==1)
{ cout<<"give review only when you have read the book"<<endl;
cout<<"enter your card number"<<endl;
cin>>k;

cout<<"enter the book name first"<<endl;


rev[i].getdata();
}
else
cout<<"enter your card no"<<endl;
cin>>k;
rev[i].read();
getch();
goto MM;
case 5: clrscr();
cout<<"**** FOUNDATION STONE LAID BY DEVESH BHOGRE
****"<<endl;
getch();
goto MM;
case 6: clrscr();
ifstream fi("n1.txt");//help taken from classmate : devesh bhogre
while(!fi.eof())
{
fi>>news;
cout<<news<<" "; }
fi.close();
getch();
ifstream fi1("n2.txt");// help taken from classmate : devesh bhogre
while(!fi1.eof())
{fi1>>news1;
cout<<news1<<" ";

}
fi1.close();
goto MM;
case 7: clrscr();
cout<<"had fun"<<endl<<"keep reading"<<endl;
getch();
}
getch();
}

TEACHERS SIGNATURE:-

TEACHERS SIGNATURE:-

http://timesofindia.indiatimes.com/
http://www.speakingtree.in/

TEACHERS SIGNATURE:TEACHERS SIGNATURE:-

You might also like