Cs Project Class 12 Management System

Embed Size (px)

Citation preview

  • 8/10/2019 Cs Project Class 12 Management System

    1/26

    SYNOPSIS REPORT

    ON

    INTERNATIONAL

    RESTAURANT FOODLIST

    GUIDED BY : NILAY PARIKH

    SUBMITTED BY: 1.DEVANSHU 2.SUMIT

    3. ABHISHEK 4.SHUBHAM

  • 8/10/2019 Cs Project Class 12 Management System

    2/26

    TTAABBLLEEOOFFCCOONNTTEENNTTSS

    Certificate

    Acknowledgement

    Working description of project

    Header files and their purpose

    Files generated

    Coding & outputs

    Bibliography

  • 8/10/2019 Cs Project Class 12 Management System

    3/26

    CCEERRTTIIFFIICCAATTEE

    This is to certify that DEVANSHU of class XII-A, Board Registration No. 16046 of Kendriya

    Vidyalaya No. 1, Sector- 30, Gandhinagar has

    successfully completed his Synopsis Report in

    Computer Science on topic INTERNATIONAL

    RESTAURANT FOOD LIST for the fulfillment

    of AISSCE as prescribed by CBSE for the year

    2013-2014.

    Date:

    Signature of Guide Signature of PRINCIPAL

    Signature of External

  • 8/10/2019 Cs Project Class 12 Management System

    4/26

    AAcckknnoowwlleeddggeemmeennttIt gives us great pleasure and deep

    satisfaction in presenting the project towards

    the fulfillment of practical knowledge in C++.

    We take the opportunity to express oursincere gratitude to several people with whose

    help and encouragement, we have completed

    this project successfully. We would like to

    thank Mr. Nilay Parekh for his able guidance,

    valuable suggestions and continuous

    encouragement during the time of project. We

    wish to put our deepest sense of appreciation

    and thanks to him.

  • 8/10/2019 Cs Project Class 12 Management System

    5/26

    We are very grateful to our parents for their

    constant and loving support. Finally, there are

    some special people without whose support this

    project would never have been a success their

    names shall not appear in this formal

    acknowledgement.

  • 8/10/2019 Cs Project Class 12 Management System

    6/26

    HHEEAADDEERRFFIILLEESSUUSSEEDDAANNDDTTHHEEIIRRPPUURRPPOOSSEE

    1.IOSTREAM.H > for file handling,cin and cout

    2. PROCESS.H > for exit() function.

    3. CONIO.H> for clrscr() and getch() functions.

    4. STDIO.H> for standard I/O operations.

    5.

    STRING.H> for string handling.

    6.IOMANIP.H->for C++ streams I/O manipulators.

  • 8/10/2019 Cs Project Class 12 Management System

    7/26

    SOFTWARE DEVELOPMENT

    PARADIGM

    The software development paradigm used in

    developing this software is waterfall. In this every

    phase is executed very carefully one after another.

    Any other SDLC model follows this technique as itsbasic unit. The various phases of waterfall model

    which model with its working as follows:

  • 8/10/2019 Cs Project Class 12 Management System

    8/26

    Implementation

    Testing

    Coding

    System Analysis

    System Design

    Preliminary Investigation

  • 8/10/2019 Cs Project Class 12 Management System

    9/26

    International Restaurant Food List

    #include

    #include

    #include

    #include

    classTIR

    {

    private:

    char cat[40][50];

    int cost[100];

    int code[100];

    int i,j,sum;

  • 8/10/2019 Cs Project Class 12 Management System

    10/26

    public

    void getc(void);

    void geti(void);

    void getb(void);

    void readc(void);

    void readi(void);

    void readb(void);

    void order(void);

    void show(void);

    };

  • 8/10/2019 Cs Project Class 12 Management System

    11/26

    void TIR::getc (void)

    {

    int n;

    cout>n;

    ofstream fout;

    fout.open( D:\\Chinese.txt );

    for(i=0;icat[i];

    cout>code[i];

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    12/26

    cin>>cost[i];

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    13/26

    for(i=0;icat[i];

    cout>code[i];

    cout>cost[i];

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    14/26

    void TIR::getb(void)

    {

    int n;

    cout>n;

    ofstream fout;

    fout.open( D:\\Bangladeshi.txt );

    for(i=0;icat[i];

    cout>code[i];

    cout>cost[i];

  • 8/10/2019 Cs Project Class 12 Management System

    15/26

    fout

  • 8/10/2019 Cs Project Class 12 Management System

    16/26

    for(j=0;j>cat[j];

    fin>>code[j];

    fin>>cost[j];

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    17/26

    void TIR::readi(void)

    {

    ifstream fin;

    fin.open( D:\\indian.txt ,ios::in);

    cout>cost[j];

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    18/26

    void TIR::readb(void)

    {

    ifstream fin;

    fin.open( D:\\Bangladeshi.txt ,ios::in);

    coutcost[j];

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    19/26

    void TIR::order(void)

    {

    int m;

    sum=0;

    cout>m;

    for(int j=0;j

  • 8/10/2019 Cs Project Class 12 Management System

    20/26

    void TIR::show(void)

    {

    clrscr();

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    21/26

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    22/26

    switch(a)

    {

    case 1:

    clrscr();

    i.readc();

    i.order();

    break;

    case 2:

    clrscr();

    i.readi();

    i.order();

    break;

  • 8/10/2019 Cs Project Class 12 Management System

    23/26

    case 3:

    clrscr();

    i.readb();

    i.order();

    break;

    case 4:

    clrscr();{

    i.show();}

    break;

    default :

    cout

  • 8/10/2019 Cs Project Class 12 Management System

    24/26

    OUTPUT

  • 8/10/2019 Cs Project Class 12 Management System

    25/26

  • 8/10/2019 Cs Project Class 12 Management System

    26/26