Cse Assignment Rajat Jain a03

download Cse Assignment Rajat Jain a03

of 12

Transcript of Cse Assignment Rajat Jain a03

  • 8/8/2019 Cse Assignment Rajat Jain a03

    1/12

    -Term paper--Term paper-

    CSE -202CSE -202

    TopicTopic:: Library Management SystemLibrary Management System

    DOS:17/11/2010

    Submitted to: - Submitted by:-Submitted to: - Submitted by:-

    Ms. Chetna Kwatra Name : Rajat JainMs. Chetna Kwatra Name : Rajat Jain

    Dept. of Computer Science Roll# : RG6901-A03Dept. of Computer Science Roll# : RG6901-A03

    Regd. # :10901999Regd. # :10901999

  • 8/8/2019 Cse Assignment Rajat Jain a03

    2/12

    ACKNOWLEDGEMENTACKNOWLEDGEMENT

    I take this opportunity to express my gratitude toI take this opportunity to express my gratitude to Ms. Chetna KwatraMs. Chetna Kwatra

    for assigning me the respective term paper which helped me to explore thefor assigning me the respective term paper which helped me to explore the

    fact about the topic (Library Management ) which I never knew and shown mefact about the topic (Library Management ) which I never knew and shown me

    the direction to make this as virtual system on machine.the direction to make this as virtual system on machine.

    I`m also beholden to my colleagues who gave me valuable pieces of adviceI`m also beholden to my colleagues who gave me valuable pieces of advice

    and were good enough to find time for a fruitful discussion.and were good enough to find time for a fruitful discussion.

    -----Rajat Jain

    INDEX

    Introduction

    Description

    Process Flow

    Source code

    Testing(Screen Shots of

    working program)

    Further Readings (FutureScope)

    Reference(Bibliography)

    INTRODUCTION

    I will start this project by describing the

    word TECHNOLOGY this word is

    rapidly changing day by day. Earlier where

    people were totally dependent on paper to

    store their data have now moved to the

    world of computers. Today we see

    everything is computerized and which is

    also getting enhanced day by day.

    In earlier days people use to write the

    records for every transaction as a proof but

  • 8/8/2019 Cse Assignment Rajat Jain a03

    3/12

    as if now its all on computer. Hence we

    derive the library maintenance on computer

    which can be useful for maintaining, editing,

    saving the records. As we know it was very

    difficult to modify the information on the

    peace of papers, but in case of computers its

    an easy task and therefore we moved in this

    direction.

    Our project is very useful. User is no longer

    required to check his register in search of

    records, as now it can be searched over the

    software by choosing some options. The

    user need not to type in most of the

    information. He/she is just required to enter

    the desired options. On the whole it liberates

    the user from keeping lengthy manual

    records. In a nutshell, it abates the work load

    of an organization.

    In todays world, no one likes to perform

    calculations on calculator or manually when

    computer is there. Every one wants his/her

    work to be done by computer automatically

    and displaying the result for further

    manipulations.

  • 8/8/2019 Cse Assignment Rajat Jain a03

    4/12

    DESCRIPTION:-

    This Library Management System is

    designed to make the librarymanagement virtual by making this

    live on computer systems, such

    helping the maintenance team,

    saving the time, and collecting the

    database. I have tried here to

    make this in the most famous

    programming language C++.

    Where I have used few of its inbuilt

    libraries to make the system more

    simplified and fruitful. This

    management system can help the

    library managers to save more

    then 1000 records, and

    modification and deletion at

    instant.

    PROCESS FLOW:-

    START

    MENU DISPLAY

    INPUT OPTIONS

    PROCESS OF SELECTED

    OPERATIONS

    SAVE

    (or)

    EXITSTOP

    Process OF

    SELECTED

    OPERATIONS have

    the modules of

    saving, deleting and

    adding respectively.

  • 8/8/2019 Cse Assignment Rajat Jain a03

    5/12

    THE PROCESS OF SELECTED

    OPERATIONS HAS DIFFERENT SAVING,

    MODIFIENG, DELETING PROCESS FLOW

    SOURCE CODE:-

    //**********************************

    ************************

    // LIBRARY MANAGEMENT

    SYSTEM- RAJAT JAIN

    //**********************************

    ************************

    //**********************************

    ************************

    // INCLUDED HEADER FILES

    //**********************************

    ************************

    #include

    #include

    #include

    #include

    #include

    class lib

    {

    public: static char date[10];

    void issuebook(); void returnbook();

    void background();

    void mainmenu();

    void introduc(); int c; int k[3],a;

    char ch,d; static int da;

    static int fine;

    static char name[10];

    static long int reg;

    int bcode;

    void addnewbook(int,char

    tname[33],int);

    // char *bookname(int);

    int bookfound(int);

    // int booknamefound(char[]);

    void addbook();

    int available(int);

    int s;

    int n; char bname[29]; int avail;

    private:

    };

  • 8/8/2019 Cse Assignment Rajat Jain a03

    6/12

    //Main function where all the parts of

    program are invoked and called.

    int main()

    {int a,n;

    clrscr();

    lib k;

    k.background();

    return(0);

    }

    //Add book function this function is usedfor adding book to library .

    void lib::addbook()

    {int a,n;

    lib l[120];

    fstream filin;

    filin.open("lib.dat",ios::in|ios::out|ios::app);

    if(!filin)

    { coutn;

    for(int i=0;i

  • 8/8/2019 Cse Assignment Rajat Jain a03

    7/12

    cout

  • 8/8/2019 Cse Assignment Rajat Jain a03

    8/12

    if(ch=='y'|ch=='Y')

    {

    coutname;

    coutdate;

    coutreg;

    coutn;

    for(int m=0;m>l[m].bcode;

    c=bookfound(l[m].bcode);

    cout

  • 8/8/2019 Cse Assignment Rajat Jain a03

    9/12

    book related information ie datamembers

    etc.

    void lib::returnbook()

    { lib l[100];

    int n;

    coutn;

    for(int i=0;i

  • 8/8/2019 Cse Assignment Rajat Jain a03

    10/12

    cout

  • 8/8/2019 Cse Assignment Rajat Jain a03

    11/12

    cout

  • 8/8/2019 Cse Assignment Rajat Jain a03

    12/12

    checked before we assure that our program

    is successfully generated and hence testing

    is needed.

    In this context I have snapped few pictures

    of working model of my program.

    THESE ARE THE FEW SCREENSHOTS

    OF WORKING MODEL. WHERE WE

    CAN ADD BOOKS AND MEMBERS AS

    WELL. LATER ON IN THE FOLLOWING

    PROGRAM WE ALSO COME ACROSS

    ISSUING AND RETURNING BOOKS

    OPTIONS.

    Further Readings (Future Scope):-

    The Working model of program can help

    lots of maintainer of library and can reduce

    their efforts. This program can beimplemented in any kind of educational

    institutes and also several kind of library

    stores.

    Still the program can be converted with lots

    of add on options and functionality, whichcan enhance the procedure of library

    handling in professional manner.

    REFERENCE(BIBLIOGRAPHY)

    E. BALAGURUSAMY, text

    book of C++

    YASHWANT KANEDKAR,

    REFERENCE OF C++

    LPU LIBRARY FOR THE

    CURRENT

    FUNCTIONALILTY &

    AMANGEMENT

    PROGRAMMING

    STRUCTURE> Various

    websites.