Project Report SESSION 2016-2017
Project Report SESSION 2016-2017
SESSION 2016-2017
A PROJECT REPORT ON
LIBRARY MANAGEMENT
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
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.
Work
1.
cad()
2.
disp()
3.
books()
4.
display()
5.
getdata()
6.
read()
#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();
"<<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;
}
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/