Friday, September 22, 2017

C/C++ Projects List [24s]

Actually they are concepts or ideas to be implemented and are listed below. Select the title, search internet for more information and design the system by identifying proper objects-N-variables. All are stand-alone project concepts and C or C++ language is best suited for such projects. Refer already coded projects, documentations for how-to-code any concept and is called code-reviewing. You can use such already coded project as reference and modify it according to your need.

Salary Management System

Sales Management System

School Fee Enquiry System

School Management System

Scientific Calculator

Shoe Shop Management System

Show Rules on Multiplication N Addition Operations

Shuffle Game System

Simple Drawing Tool or Application

Simple Editor

Snake Ladder Game System

Social Welfare Management System [Govt. Dept]

Spa Management System

Space N Galaxy Wiki-how Information System

Split Given File into two files

Sports Shop Management System

Steel Industry Management System

Student Database Management System

Student Information Management System

Student Report Card System

Submarine Simulator System

Sudoku Generator

Super Market Billing System

Super Market Management System

 

See also: C++ Mini Projects List for code review

How to Design System from Idea

 

Note: For source code and other details send request e-mail specifying project name: to mailforprojects@rediffmail.com. Add your comments in below available comment box.

Note: Click these label/tags to view all related posts. Tags: C++MiniProject

 

…till next post, bye-bye & take care.

Thursday, September 21, 2017

C++ Code Review: Mathematics operation on two given number

Description: This program shows how to draw menu and apply mathematics operation such as addition, subtraction, multiplication and division on two given numbers. The switch case constructor is used to draw menu.

Code:

//Compiling Tool: Code::Block IDE with MinGW

//Program uses basic maths operators to do sum calculations.

 

#include<iostream>

#include<conio.h> //for getch()

#include<math.h>  //for sqrt()

#include<cstdlib> //for system()

 

using namespace std;

 

int main()

{

    int a,b,result;

    int ch;

 

top:system("cls");//to clear the screen

 

    cout << endl;

    cout<<"***Basic Maths Calculator Program***"<< endl;

    cout<<"   1. Addition"<< endl;

    cout<<"   2. Subtraction"<< endl;

    cout<<"   3. Multiplication"<< endl;

    cout<<"   4. Division"<< endl;

    cout<<"   5. Modulus"<< endl;

    cout<<"   6. Quit"<< endl;

    cout<<"Enter your Choice:_";

    cin>>ch;

 

    if(ch < 6)

        {

        cout<<"   Enter two variables:_" ;

        cin>>a>>b;

        }

    switch(ch)

    {

    case 1:

    {

        result = a + b;

        break;

    }

 

    case 2:

    {

        result = a - b;

        break;

    }

 

    case 3:

    {

        result = a * b;

        break;

    }

 

    case 4:

    {

        if(b<=0)

        {

            cout << "division not possible as b<=0";

            result = 0;

        }

        else

            result = a / b;

        break;

    }

 

    case 5:

    {

        if(b<=0)

        {

            cout << "modulus not possible as b<=0";

            result = 0;

        }

        else

            result = a% b;

        break;

    }

 

    case 6:

    {

        cout<<"   Quitting the program"<< endl;

        exit(0);

    }

    default:

        goto top;

    }

 

    cout<<"   result = "<< result ;

 

    getch(); //to stop the screen

    goto top;

}

Output:

 clip_image002

If you want to write or construct or program C++ mini-project and do not know how or from where to start buy this simple e-book: Code Review of 26 C++ mini-projects. For book sample click this link.

Add your comments in below available comment box.

Note: Click these label/tags to view all related posts. Tags: C++Code

 

…till next post, bye-bye & take care.

Tuesday, September 19, 2017

C++ Code Review: Mathematics operations on two complex numbers

Description: This program shows how mathematics operation such as addition, subtraction, multiplication and division is carried out on two given complex numbers.

Code:

//Compiling Tool: Code::Block IDE with MinGW

//Program does maths operations on two complex numbers.

 

#include<iostream>

#include<math.h>

#include<conio.h> //for getch()

#include<cstdlib> //for system()

 

using namespace std;

 

struct complex

{

    float rel;

    float img;

} s1,s2;

 

int main()

{

    system("cls");//to clear the screen

    float a,b;

    cout<<"Enter real N imaginary part of 1st complex number:";

    cin>>s1.rel>>s1.img;

    cout<<"Enter real N imaginary part of 2nd complex number:";

    cin>>s2.rel>>s2.img;

 

//Addition

    a=(s1.rel)+(s2.rel);

    b=(s1.img)+(s2.img);

    cout<<"\nAddition:       "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";

 

//Subtraction

    a=(s1.rel)-(s2.rel);

    b=(s1.img)-(s2.img);

    cout<<"\nSubtraction:    "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";

 

//Multiplication

    a=((s1.rel)*(s2.rel))-((s1.img)*(s2.img));

    b=((s1.rel)*(s2.img))+((s2.rel)*(s1.img));

    cout<<"\nMultiplication: "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";

 

//Division

    a=(((s1.rel)*(s2.rel))+((s1.img)*(s2.img)))/(pow(s2.rel,2)+pow(s2.img,2));

    b=(((s2.rel)*(s1.img))-((s1.rel)*(s2.img)))/(pow(s2.rel,2)+pow(s2.img,2));

    cout<<"\nDivision:       "<<"("<<a<<")"<<"+"<<"("<<b<<")"<<"i";

 

    getch();

    return(0);

}

Output:

clip_image002

If you want to write or construct or program C++ mini-project and do not know how or from where to start buy this simple e-book: Code Review of 26 C++ mini-projects. For book sample click this link.

Add your comments in below available comment box.

Note: Click these label/tags to view all related posts. Tags: C++Code

 

…till next post, bye-bye & take care.