Iris Recognition System Using Discrete Cosine Transform DCT Full Matlab Project with Source Code

ABSTRACT
               This project presents an iris coding method for effective recognition of an individual. The recognition is performed based on a mathematical and computational method called discrete cosine transform (DCT). It consists of calculating the differences of discrete cosine transform (DCT) coefficients of overlapped angular patches from the normalized iris image for the purpose of feature extraction. DCT is used because it offers efficiency, it is much more practical and its basis vectors are comprised of entirely real-valued components. Iris recognition belongs to the biometric identification. Biometric identification is a technology that is used for the identification an individual based on ones physiological or behavioral characteristics. Iris is the strongest physiological feature for the recognition process because it offers most accurate and reliable results. Iris recognition process mainly involves three stages namely, iris image preprocessing, feature extraction and template matching. In the pre-processing step, iris localization algorithm is used to locate the inner and outer boundaries of the iris. Detected iris region is then normalized to a fixed size rectangular block. In the feature extraction step, texture analysis method is used to extract significant features from the normalized iris image with the help of Discrete Cosine Transform (DCT).

PROJECT OUTPUT



PROJECT VIDEO



Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

Automated Leukemia Cancer Detection Using Image Processing Matlab Project with Source Code

ABSTRACT
        Blood cancer is the most prevalent and it is very much dangerous among all type of cancers. Early detection of blood cancer has the potential to reduce mortality and morbidity. There are many diagnostic technologies and tests to diagnose blood cancer. However many of these tests are extremely complex and subjective and depend heavily on the experience of the technician. To obviate these problems, image processing techniques and a fuzzy inference system is use in this study as promising modalities for detection of different types of blood cancer. The accuracy rate of the diagnosis of blood cancer by using the fuzzy system will be yield a slightly higher rate of accuracy then other traditional methods and will reduce the effort and time. We first discuss the preliminary of cell biology required to proceed to implement our proposed method. This project presents a new automated approach for blood Cancer detection and analysis from a given photograph of patient’s cancer affected blood sample. The proposed method is using Wavelet Transformation for image improvement, image segmentation for segmenting the different cells of blood, edge detection for detecting the boundary, size, and shape of the cells and finally Fuzzy Inference System for Final decision of blood cancer based on the number of different cells.

PROJECT OUTPUT


PROJECT VIDEO



Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

Brain Tumor Detection Using Watershed Technique Matlab Project with Source Code

ABSTRACT
             In the field of medical image processing, detection of brain tumor from magnetic resonance image (MRI) brain scan has become one of the most active research. Detection of the tumor is the main objective of the system. Detection plays a critical role in biomedical imaging. In this project, MRI brain image is used to tumor detection process. This system includes test the brain image process, image filtering, morphological operation, Detection of the tumor, Finding Tumor Stage and determination of the tumor location. In this system, morphological operation of watershed technique is applied to detect the tumor. The detailed procedures are implemented using MATLAB. The proposed method extracts the tumor region accurately from the MRI brain image. The experimental results indicate that the proposed method efficiently detected the tumor from the brain image. Watershed Segmentation is the best methods to group pixels of an image on the basis of their intensities. Pixels falling under similar intensities are grouped together. Watershed is a mathematical morphological operating tool. Watershed is normally used for checking output rather than using as an input segmentation technique because it usually suffers from over segmentation and under segmentation. The watershed techniques are useful for segmentation of brain tumor. Image segmentation is based on the division of the image into regions. Division is done on the basis of similar attributes. 

PROJECT OUTPUT



PROJECT VIDEO




Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

Finger Print Recognition and Matching Using Image Processing Matlab Project with Source Code

ABSTRACT
                 The popular Biometric used to authenticate a person is Fingerprint which is unique and permanent throughout a person’s life. A minutia matching is widely used for fingerprint recognition and can be classified as ridge ending and ridge bifurcation. In this paper we projected Fingerprint Recognition using Minutia Score Matching method (FRMSM). For Fingerprint thinning, the Block Filter is used, which scans the image at the boundary to preserves the quality of the image and extract the minutiae from the thinned image. Fingerprint is a very vital concept in making us completely unique and can not be altered. It is necessary to recognize fingerprint in proper manner. Here we are trying to recognize the fingerprint image samples by using minute extraction and minute matching techniques. In minute extraction it counts the crossing numbers and from the count it will be classified as normal ridge pixel, termination point and bifurcation point. Then the input finger print data is compared with the template data. This is called as minute matching. 

                    Biometric systems operate on behavioral and physiological biometric data to identify a person. The behavioral biometric parameters are signature, gait, speech and keystroke, these parameters change with age and environment. However physiological characteristics such as face, fingerprint, palm print and iris remains unchanged through out the life time of a person. The biometric system operates as verification mode or identification mode depending on the requirement of an application. The verification mode validates a person’s identity by comparing captured biometric data with ready made template. The identification mode recognizes a person’s identity by performing matches against multiple fingerprint biometric templates. Fingerprints are widely used in daily life for more than 100 years due to its feasibility, distinctiveness, permanence, accuracy, reliability, and acceptability. Fingerprint is a pattern of ridges, furrows and minutiae, which are extracted using inked impression on a paper or sensors. A good quality fingerprint contains 25 to 80 minutiae depending on sensor resolution and finger placement on the sensor. The false minutiae are the false ridge breaks due to insufficient amount of ink and cross-connections due to over inking. It is difficult to extract reliably minutia from poor quality fingerprint impressions arising from very dry fingers and fingers mutilated by scars, scratches due to accidents, injuries. 

PROJECT OUTPUT



PROJECT VIDEO



Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

Electronic Online Voting Machine (EVM) Matlab Project with Source Code

ABSTRACT
                    Electronic voting machine is generally used now days in some countries including India for conducting election of government in a country. But the Electronic voting machine has certain disadvantages like illegal voting and insecurity. Hence the concept of online voting system is started in some countries for conducting election. Most of the developed countries have started using online voting system but they are facing some problems in conducting it. Estonia is the only country started conducting the online voting system in national election. But the percentage of voting is only 20% to 30%. Different researchers have designed a online voting system But the system are not so much efficient in terms of accuracy and security. Also the voting system has high error rate. Hence the voting system is not flexible and can be used for specific region only. Biometric authentication is found to be more secure and accurate in certain application. Different biometric authentications like fingerprint, retina etc. can be used in designing an application to enhance the security. As fingerprint of every individual is unique it can be used for designing a voting system. Different fingerprint matching techniques has been discussed considering the FRR ratio.

PROJECT OUTPUT


PROJECT VIDEO



Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

C++ Project Code for Company Management System

CODE:

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


class earn{
        public:
        double profit;
        void show(){   ifstream x("ooo.txt");
        if(!x)
        cout<<"PROFIT = 0 ";
        else{
        x>>profit;
        cout<<"\nTOTAL STARTING PROFIT:  "<<profit;
        x.close();
        }
        getch();
        }

};
class product:public virtual earn{
public:
           int quan;
           char name[20];
           char id[20];
           double percost;
           double persell;
           double cost;
           double sell;
           void cal(){cost=percost*quan;
               sell=persell*quan;
               profit=profit +(sell-cost)*365;}
           void file();
           void get() ;

};
void product::get()
{
 int s;
cout<<"how many product produce;";
cin>>s;
for(int i=0;i<s;i++)
{
  cout<<"\ninput product name: ";
  cin>>name;
  cout<<"\ninput product id: ";
  cin>>id;
  cout<<"\ninput percost of product: ";
  cin>>percost;
  cout<<"\ninput persell of product: ";
  cin>>persell;
  cout<<"\ntotal product quntity:";
  cin>>quan;
  }
  cal();
  file();
}
void product::file()
{
char file[20];
strcpy(file,id);
strcat(file,".txt");
ofstream f(file);
f<< "\nproduct name: "<<name<< "\nproduct id: "<<id<<"\npercost ofproduct: " <<percost<<"\npersell of product: "<<persell<<"\nquantity"<<quan<<"\n total cost: "<<cost<<"\nsell: "<<sell;
f.close();
}

class staff:public virtual earn{
         protected:
         double salary;
         char post[12];
         char emid[10];
         int postquan;
         void cal()
         {profit=(profit-salary*postquan)*12;
         }
         void getstaff();
         void file();
};
void staff::getstaff()
{
  cout<<"\ninput salary: ";
  cin>>salary;
  cout<<"\ninput postquantity: ";
  cin>>postquan;
  cal();
  file();
}
 void staff::file()
{  char file[20];
strcpy(file,emid);
strcat(file,".txt");
ofstream f(file);
f<< "\nstaff salary: "<<salary<< "\post quantity: "<<postquan;
f.close();
}

class ammount:public staff,public product
{

 public:
    void  add();
};
void ammount::add()
{
 cout<<"\nINPUT FOR PRODUCT";
 get();
 cout<<"\nINPUT FOR EMPLOYEE" ;
 getstaff();

 ofstream x("ooo.txt");
 x<<profit;
 x.close();
}


int main()
{
  clrscr();
  while(1)
  {
  clrscr();
  cout<<"1..add\n2..show\n3...search\n4..exit\n";
  cout<<"what is ur choice? ";
  int u;
  cin>>u;
  if(u==1)
  {
  ammount a;
  a.show();
  a.add();
  }
  if(u==2)
  {ammount d;
  d.show();
  }
  if(u==3)
   {clrscr();
   char id[20];
   char c;
    cout<<"INPUT ID FOR search";
    cin>>id;
    char file[20];
    strcpy(file,id);
    strcat(file,".txt")  ;
    ifstream x(file);
    while(x)
    {x.get(c)   ;
     cout<<c;
    }
    getch();
    x.close();
    clrscr();
   }
  if(u==4)
  break;
 }
  return 0;

}



Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

C++ Project Code for Salary Management System

CODE:

#include <iostream.h>
#include <conio.h>
#include <dos.h>
#include <stdio.h>
#include <string.h>
#include <fstream.h>

class data
{
   protected:
    char p[30];
    unsigned long int x,y,z,m,n,d,a,b,c,e,f;
   public:
    void getdata()
    {
     cout<<"\n Enter name:";
     cin>>p;
     }
  };



class salary:public virtual data
{
  public:

    int wasif(void);
    void time_date(void);
    unsigned long int daycount(int,int,int);
    void manager(int);
    void search_employee(void);
 };

 int salary::wasif(void)
 {
  char w;
  cout<<"\n\n\n         ";
  textattr(4+9);
  cprintf("If you want to do anything,press 'Enter' or press 'Esc'.");
  textcolor(6);textbackground(9);
  w=getch();
  if(w==13)
   return 1;
  else
   return 0;
  }

void salary::time_date()
 {
  struct date d;
  int i,j;
  clrscr();
  getdate(&d);
  i=d.da_day;
  j=d.da_mon;
  cout<<"Date:"<<i<<"/"<<j<<"/"<<d.da_year;
  struct time t;
  int k;
  gettime(&t);
  i=t.ti_hour;
  j=t.ti_min;
  k=t.ti_sec;
  cout<<"\t\t\t\t\t\t           Time:"<<i<<":"<<j<<":"<<k<<endl;
  cout<<"\n\n\n                ";
  textcolor(3);
  textbackground(9);
  cprintf("WELCOME TO THE SALARY MANAGEMENT SOFTWARE");
  cout<<"\n\n\n";
  textcolor(6);
  textbackground(9);
  }

 unsigned long int salary::daycount(int x,int y,int z)
  {
     unsigned long int year1,day1,month1,year2,day2,month2,
     year,day,month;

    day1=x;month1=y;year1=z;
    cout<<endl;
    struct date d;
    getdate(&d);
    day2=d.da_day;
    month2=d.da_mon;
    year2=d.da_year;
    year1=year1*365;
    month1=month1*30;
    day1=day1+year1+month1;
    year2=year2*365;
    month2=month2*30;
    day2=day2+year2+month2;
    unsigned long int date=day2-day1;

      return date;
  }

void salary::manager(int salaryType=0)
{
     cout<<"\n Employee name:"<<p; delay(1000);
     cout<<"\n\n His joined date:(Day/Month/Year):";
     cin>>x>>y>>z;delay(500);
     cout<<"\n His working days are:";
     d=daycount(x,y,z);
     cout<<"\n "<<d%30<<" days "<<(d%365)/30<<" months "<<d/365<<" years";delay(500);
     cout<<"\n\n His per month salary is:";
     if(salaryType==0)
     {
       cout<<1500.0*30.0<<" taka";delay(500);
       m=1500.0*daycount(x,y,z);
       n=(1500.0*30.0)+((1500.0*30.0)*((d/365.0)*0.25));
     }
     else if(salaryType==1)
     {
       cout<<1000.0*30.0<<" taka";delay(500);
       m=1000.0*daycount(x,y,z);
       n=(1000.0*30.0)+((1000.0*30.0)*((d/365.0)*0.20));
     }
     else if(salaryType==2)
     {
       cout<<800.0*30.0<<" taka";delay(500);
       m=800.0*daycount(x,y,z);
       n=(800.0*30.0)+((800.0*30.0)*((d/365.0)*0.15));
     }
     else
     {
       cout<<500.0*30.0<<" taka";delay(500);
       m=500.0*daycount(x,y,z);
       n=(500.0*30.0)+((500.0*30.0)*((d/365.0)*0.10));
     }
     cout<<"\n His total income is:"<<m<<" taka";delay(500);
     cout<<"\n\n He spent "<<d/365<<"years in this post";delay(500);
     cout<<"\n\n After each year the company will implement his salary";delay(500);
     cout<<"\n\n Now in 2007 his salary is:"<<n<<" taka";delay(500);
     if(salaryType==0)
        n=(1500.0*30.0)+((1500.0*30.0)*(((d/365.0)+1)*0.25));
     else if(salaryType==1)
        n=(1000.0*30.0)+((1000.0*30.0)*(((d/365.0)+1)*0.20));
     else if(salaryType==2)
        n=(800.0*30.0)+((800.0*30.0)*(((d/365.0)+1)*0.15));
     else
        n=(500.0*30.0)+((500.0*30.0)*(((d/365.0)+1)*0.10));
     cout<<"\n\n Next year his salary will be:"<<n<<" taka";delay(500);
     cout<<"\n\n His Eid bonus is 10% of his salary";delay(500);
     if(salaryType==0)
        n=1500.0*30.0*(10.0/100.0);
     else if(salaryType==1)
        n=1000.0*30.0*(10.0/100.0);
     else if(salaryType==2)
        n=800.0*30.0*(10.0/100.0);
     else
        n=500.0*30.0*(10.0/100.0);
     cout<<"\n\n His bonus is:"<<n<<" taka";

}

void salary::search_employee()
{
    cout<<"\nEnter the employee name whom you want to search:";
    char q[30];
    gets(q);
    strcat(q,".txt");
    fstream z;
    z.open(q,ios::in);
    z.seekg(0);
    if(!z)
    {
     cout<<"\n\t\t\t Searching.";
     for(int l=0;l<5;l++)
     {
      delay(500);
      cout<<".";
        }
     sound(1550);
     cout<<"\n\t\t\t File not found...";
     delay(1000);
     nosound();
     }
    if(z)
    {
     cout<<"\n\t\t\t Searching.";
     for(int l=0;l<5;l++)
     {
      delay(500);
      cout<<".";
        }
     cout<<"\n\t\t\t File found...";delay(500);
     }
    char ch;
    while(z)
    {
     z.get(ch);
     cout<<ch;delay(25);
     }
}

class file:public virtual data,public salary
{
 public:
    void file_manager(int);
 };

void file::file_manager(int fileType=0)
{
     char mng[30];
     strcpy(mng,p);
     strcat(mng,".txt");
     fstream k;
     k.open(mng,ios::out);
     k<<"\n\n Our  Employee Mr."<<p<<"\n\n His joined date:";
     k<<x<<"/"<<y<<"/"<<z;
     k<<"\n\n His working days are:";
      d=daycount(x,y,z);
      a=d%30;b=(d%365)/30;c=d/365;
     k<<a<<" days "<<b<<" months "<<c<<" years";
     k<<"\n\n His per month salary is:";
     if(fileType==0)
     {
       e=1500.0*30.0;
       k<<e<<" taka";
       m=1500.0*daycount(x,y,z);
       n=(1500.0*30.0)+((1500.0*30.0)*((d/365.0)*0.25));
     }
     else if(fileType==1)
     {
       e=1000.0*30.0;
       k<<e<<" taka";
       m=1000.0*daycount(x,y,z);
       n=(1000.0*30.0)+((1000.0*30.0)*((d/365.0)*0.20));
     }
     else if(fileType==2)
     {
       e=800.0*30.0;
       k<<e<<" taka";
       m=800.0*daycount(x,y,z);
       n=(800.0*30.0)+((800.0*30.0)*((d/365.0)*0.15)) ;
      }
     else
     {
       e=500.0*30.0;
       k<<e<<" taka";
       m=500.0*daycount(x,y,z);
       n=(500.0*30.0)+((500.0*30.0)*((d/365.0)*0.10)) ;
      }
     k<<"\n\n His total income is:"<<m<<" taka";
      f=d/365;
     k<<"\n\n He spent "<<f<<" years in this post\n\n After each year the company will implement his salary";
     k<<"\n\n Now in 2007 his salary is:"<<n<<" taka";
     if(fileType==0)
           n=(1500.0*30.0)+((1500.0*30.0)*(((d/365.0)+1)*0.25));
     else if(fileType==1)
           n=(1000.0*30.0)+((1000.0*30.0)*(((d/365.0)+1)*0.20));
     else if(fileType==2)
           n=(800.0*30.0)+((800.0*30.0)*(((d/365.0)+1)*0.15));
     else
           n=(500.0*30.0)+((500.0*30.0)*(((d/365.0)+1)*0.10));
     k<<"\n\n Next year his salary will be:"<<n<<" taka\n\n His Eid bonus is 10% of his salary";
     if(fileType==0)
           n=1500.0*30.0*(10.0/100.0);
     else if(fileType==1)
           n=1000.0*30.0*(10.0/100.0);
     else if(fileType==2)
           n=800.0*30.0*(10.0/100.0);
     else
           n=500.0*30.0*(10.0/100.0);
     k<<"\n\n His bonus is:"<<n<<" taka";
     k.close();
}

int main()
{
  textcolor(6);
  textbackground(9);
 int a;
 data d;
 salary s;
 file f;
 do
 {
  clrscr();
  s.time_date();
  cout<<"\n Enter your choice:\n 1.Add an employee\n 2.Search an employee\n 3.Quit";
  cout<<"\n (Press 1 to 3)\n";
  int a1;
  cin>>a1;
  clrscr();
  s.time_date();
 if(a1==1)
  {
   f.getdata();
   cout<<"\n His post in the office:\n 1.Manager\n 2.Executive manager\n 3.Programmer\n 4.Software developer";
   cout<<"\n(Press 1 to 4)\n";
   cin>>a;
   clrscr();
   s.time_date();
   switch(a)
   {
    case 1:
       f.manager();
       f.file_manager();
       break;
    case 2:
       f.manager(1);
       f.file_manager(1);
       break;
    case 3:
       f.manager(2);
       f.file_manager(2);
       break;
    case 4:
       f.manager(3);
       f.file_manager(3);
       break;
    default:
       cout<<"\n\n\t You entered an invalid number";
       break;
       }

    }
 if(a1==2)
  {
    clrscr();
    s.time_date();
    f.search_employee();
    }
 if(a1==3)
    break;
   int l;
   l=f.wasif();
   if(l==0)
    break;
 }
  while(a!=3);

 return 0;
}



Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

C++ Project Code for Dress Shop Management System

CODE:

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

class dress{
        private:
            char filename[20];

        protected:

            char dressname[60];
            char dressid[10];
            float price;
            void get();
};


void dress::get()
           {
        cout<<"\n ENTER  DRESS NAME  : ";
        cin>>dressname;
        cout<<"\n ENTER DRESS ID  NO : ";
        cin>>dressid;
        cout<<"\n ENTER DRESS PRICE  : ";
        cin>>price;

        strcpy(filename,dressid);
        strcat(filename,".txt");
        ofstream  x(filename);

        x<<"\n\nDRESS NAME  :"<<dressname;
        x<<"\n\nDRESS ID  :"<<dressid;
        x<<"\n\nPRICE     :"<<price;
        x.close();

           }

class male:protected dress
{
   public:
        male();

};
void male::male()
        {
         get();
         fstream x("MALE.txt",ios::app|ios::out);
         x<<dressname;
         x<<"\t"<<dressid;
         x<<"\t "<<price<<endl;
         x.close();
        }



class female:protected dress{

                public:
                     female();

                 };

void female::female()
        {
         get();
         fstream x("FEMALE.txt",ios::app|ios::out);
         x<<dressname;
         x<<"\t"<<dressid;
         x<<"\t "<<price<<endl;
         x.close();
        }

class childrn:protected dress

{

          public:
              childrn();
};


void childrn::childrn()
        {
         get();
         fstream x("CHILD.txt",ios::app|ios::out);
         x<<dressname;
         x<<"\t"<<dressid;
         x<<"\t "<<price<<endl;
         x.close();
        }


class add {

     private:
             int i;

     public:
             add();

       };

add::add()
{
    clrscr();

      while(1)
     {
        clrscr();
        cout<<"\n\n";
        cout<<"\t\t Categories of the dress products\n\n";
        cout<<"\n\n01. MALE. \n\n02. FEMALE. \n\n03. CHILDREN  OR";
        cout<<"\n\n04. EXIT. ";
        cout<<"\n\n\n\t Enter your option :";
        cin>>i;


        if(i==1)
        {
            male m;
        }

        if(i==2)
        {
            female f;
        }

        if(i==3)
        {
            childrn c;
        }
        if(i==4)

        break;

     }
}


class search{

      private:
               int m;
               char ch;

      public:
               search();

         };


search::search(){

              while(1)

                {

                     clrscr();
                     cout<<"\n\n 01.Male";
                     cout<<"\n\n 02.Female";
                     cout<<"\n\n 03.Children";
                     cout<<"\n\n 04.Search by id";
                     cout<<"\n\n 05.Exit";
                     cout<<"\n\n\t Select an option :";
                     cin>>m;


                       if(m==1)

                        {

                         ifstream m("MALE.txt");
                         while(m)

                           {
                            m.get(ch);
                            cout<<ch;


                           }
                      getch();

                          }

                       if(m==2)

                        {
                         ifstream m("FEMALE.txt");
                         while(m)

                           {
                             m.get(ch);
                             cout<<ch;


                           }
                      getch();

                        }


                       if(m==3)
                        {
                          ifstream m("CHILD.txt");
                          while(m)
                           {
                             m.get(ch);
                             cout<<ch;


                           }
                     getch();

                         }

                       if(m==4)
                        {
                          char id[10],filename[20];

                          cout<<"input id for search:";
                          cin>>id;
                          strcpy(filename,id);
                          strcat(filename,".txt");
                          ifstream m(filename);

                          while(m)

                               {
                               m.get(ch);
                               cout<<ch;


                            }
                         getch();
                        }

                        if(m==5)
                        break;




          }

        }


class cut{

    public:
         cut();

      };

cut::cut()
     {         char id[20],filename[20];
           cout<<"\n\nEnter the id to delete : ";
           cin>>id;
           strcpy(filename,id);
           strcat(filename,".txt");
           fstream x(filename,ios::out);
           x<<"INFORMATION IS UNAVALABLE";
           x.close();
     }



  int main()

     {
         int i;

         textcolor(5);
         textbackground(0);

         clrscr();

        while(1)
               {
                clrscr();
                cout<< "Choose an option\n\n";
                cout<< "\n\t01. Add a product.\n";
                cout<< "\n\t02. Search any product.\n";
                cout<< "\n\t03. Delete any product.\n";
                cout<< "\n\t04. Exit.";
                cout<< "\n\n\nEnter an option :";
                cin>>i;

                if(i==1)
                   {
                   add a;
                   }

                if(i==2)
                {

                    search s;

                }

                 if(i==3)
                {
                    cut c;
                }

                  if(i==4)
                  break;

               }

       return 0;

     }

/////////////////////////////////////////////////////
File Data of MALE.TXT :
undergarments    xxx     85
File Data of XXX.TXT :

DRESS NAME  :undergarments

DRESS ID  :xxx

PRICE     :85


Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

C++ Project Code for Shopping Management System

CODE:

#include<iostream.h>
#include<conio.h>
#include<string.h>
    class iteam
 {
    protected:
        char name[20][20];
        float price[20];
        int sum,code[20];

    public:
        iteam()
        {
         sum=0;
         temp=0;
        }
        char catagory[20];
        int temp;
        void insert();
        void add();
        void display();
        void search();
        void remove();
        void total_amount();
        void catago_amount();
        void error1();
        void initial_task();
        int function1();
 };
     void iteam::insert()
   {
    int i,n,k;
    cout<<"enter catagory name=";
    cin>>catagory;
    cout<<"how many item do u want to insert =";
    cin>>n;
    for(i=temp;i<n;i++)
    {
      cout<<"enter name of the iteam=";
      cin>>name[temp];
      cout<<"enter code=";
      cin>>code[temp];
      cout<<"enter price=";
      cin>>price[temp];
      temp++;
      sum=sum+price[i];
    }
   }
     void iteam::add()
   {
    int i,n;
    cout<<"enter catagory name=";
    cin>>catagory;
    cout<<"how many item do u want to add =";
    cin>>n;
    for(i=temp;i<n;i++)
    {
      cout<<"enter name of the iteam=";
      cin>>name[temp];
      cout<<"enter code=";
      cin>>code[temp];
      cout<<"enter price=";
      cin>>price[temp];
      temp++;
      sum=sum+price[i];
    }
   }
     void iteam::display()
  {
    int i;
    cout<<"under the "<<catagory<<" catagory the items are:"<<'\n'<<'\n';
    cout<<"item name"<<'\t';
    cout<<"code"<<'\t';
    cout<<"price"<<'\t'<<'\n';
    for(i=0;i<temp;i++)
    {

      cout<<name[i]<<'\t'<<'\t';
      cout<<code[i]<<'\t';
      cout<<price[i]<<'\n'<<'\n';
     }
     cout<<'\n'<<'\n';
   }
    void iteam::search()
  {
      int i,m;
      cout<<"enter code:";
      cin>>m;
      for(i=0;i<temp;i++)
      {
    if(code[i]==m)
    {
    cout<<"item name is ="  <<name[i]<<'\n';
    cout<<"price is="<<price[i]<<'\n'<<'\n';
    }
    else
    cout<<"u have entered wrong code"<<'\n'<<'\n';
      }
      cout<<'\n'<<'\n';
  }
     void iteam::remove()
  {
      int i,m;
      cout<<"enter code:";
      cin>>m;
      for(i=0;i<temp;i++)
      {
    if(code[i]==m)
    {
      price[i]=0;
    }
    else
    cout<<"u have entered wrong code"<<'\n'<<'\n';
      }
      cout<<'\n'<<'\n';
  }
    void iteam::total_amount()
    {
     cout<<"the total price of all the items of all catagories is="<<sum<<'\n'<<'\n';
    }
    void iteam :: catago_amount()
    {
    cout<<"under the "<<catagory<<" catagory the total price of the items are="<<sum<<'\n'<<'\n';
    }
    void iteam::error1()
    {
      cout<<"FIRST U NEED TO INSERT ITEAM";
      cout<<'\n'<<'\n';
    }
    void iteam::initial_task()
    {
  cout<<"What do u want to do ?"<<'\n';
  cout<<"1.if u want to insert press 1"<<'\n';
  cout<<"2.if u want to add press 2"<<'\n';
  cout<<"3.if u want to display press 3"<<'\n';
  cout<<"4.if u want to search press 4"<<'\n';
  cout<<"5.if u want to remove press 5"<<'\n';
  cout<<"6.if u want to see the total price press 6"<<'\n';
  cout<<"7.if u want to exit press 0"<<'\n';
    }
    int iteam::function1()
    {
    int a1;
    cout<<"choose a option to enter from the following sites"<<'\n';
    cout<<"1.press 1 for cloths."<<'\n'<<"2.press 2 for daily using thing."<<'\n'
    <<"3.press 3 for raw materials."<<'\n'<<"4.press 0 for exit."<<'\n';
    cin>>a1;
    return a1;
    }
    class cloth:public iteam
    {
    private:
        char clt[15],cr[15];
    public:
       cloth operator+(cloth);
       void insert_cl();
       void display_cl();
    };
   cloth  cloth::operator+(cloth c)
   {
     cloth ob1;
     ob1.sum=sum+c.sum;
     return (ob1);
   }
   void cloth::insert_cl()
   {
   cout<<"what type of cloth is this ?(cotton,polyester,......)"<<'\n';
   cin>>clt;
   cout<<"what's the color of the cloth ?"<<'\n';
   cin>>cr;
   cout<<'\n'<<'\n'<<'\n';
   }
   void cloth::display_cl()
   {
   cout<<"type :"<<clt<<'\n';
   cout<<"color :"<<cr<<'\n'<<'\n'<<'\n';
   }
    class dusing:public iteam
    {
      private:
          char dus[15];
      public:
       dusing operator+(dusing);
       void insert_du();
       void display_du();
    };
   dusing dusing::operator+(dusing c)
   {
     dusing ob2;
     ob2.sum=sum+c.sum;
     return (ob2);
   }
   void dusing::insert_du()
   {
    cout<<"what type of daily using thing is this ?(food,cosmatics,.......)"<<'\n';
    cin>>dus;
    cout<<'\n'<<'\n'<<'\n';
   }
   void dusing::display_du()
   {
    cout<<"type :" <<dus<<'\n'<<'\n'<<'\n';
   }
    class material:public iteam
    {
    private:
        int sp;
        char mat[14],qu[15];
    public:
      material operator+(material c);
       void insert_ma();
       void display_ma();
    };
    material material::operator+(material c)
    {
     material ob3;
     ob3.sum=sum+c.sum;
     return (ob3);
    }
    void material::insert_ma()
    {
    cout<<"what type of raw material is this ?(vegetable,fish,fruits,.......)"<<'\n';
    cin>>mat;
    cout<<"what kind of quality do it carry ?"<<'\n';
    cin>>qu;
    cout<<"nomally after how many days it will be spoiled ?"<<'\n';
    cin>>sp;
    cout<<'\n'<<'\n'<<'\n';
    }
    void material::display_ma()
    {
    cout<<"type :" <<mat<<'\n';
    cout<<"quality :" <<qu<<'\n';
    cout<<"the time after it will spoil:" <<sp<<'\n'<<'\n'<<'\n';
    }
  int main()
 {
    cloth t[20],f1,ob;
    dusing du[20],f2,ob1;
    material ma[20],f3,ob2;
    int i,x=0,n,a,j,k,l,s,m,b,c,q,g=0,a1,y=0,z=0;
    char inp[20];
    clrscr();
    for(i=0;;i++)
    {
    a1=ob.function1();
    switch(a1)
    {
    case 1:
    for(i=0;;i++)
     {
       ob.initial_task();
       cin>>a;
       switch(a)
       {
     case 1:
        if(x>0)
         {
           cout<<"YOU CAN NOT INSERT ITEAM MORE THAN ONE TIMES"<<'\n'<<'\n';
           break;
          }
         else
         {
           cout<<"how many catagory do u want to insert=";
           cin>>n;
           for(i=0;i<n;i++)
            {
              t[x].insert();
              t[x].insert_cl();
               x++;
             }
          }
         break;
      case 2:
        if(x<=0)
        {ob.error1();
        break;}
         else
         {
           cout<<"how many catagory do u want to add=";
           cin>>n;
           for(j=0;j<n;j++)
            {
             t[x].add();
             t[x].insert_cl();
              x++;
             }
          break;
          }
       case 3:
        if(x<=0)
        {ob.error1();
        break;}
         else
         {
          for(s=0;s<x;s++)
           {
             t[s].display();
             t[s].display_cl();
           }
           break;
         }
       case 4:
        if(x<=0)
        {ob.error1();
        break;}
        if(x>0)
        {
         cout<<"enter ur desired catagory=";
         cin>>inp;
         for(c=0;c<x;c++)
         {
           b=strcmp(inp,t[c].catagory);
           if(b==0)
           break;
          }
          if(b==0)
            {t[c].search();
            t[c].display_cl();}
           break;
          }
        case 5:
        if(x<=0)
        {ob.error1();
          break;}
        else
        {
         cout<<"enter ur desired catagory=";
         cin>>inp;
         for(c=0;c<x;c++)
         {
           b=strcmp(t[c].catagory,inp);
           if(b==0)
           break;
          }
          if(b==0)
            t[c].remove();
           break;
          }
         case 6:
        if(x<=0)
         {ob.error1();
          break;}
        else
        {
          for(z=g;z<x;z++)
          {
            f1=f1+t[z];
            g++;
          }
        for(i=0;i<x;i++)
        t[i].catago_amount();
        f1.total_amount();
        break;
        }
     }
     if(a==0)
     break;
       }
       break;
       case 2:
    for(i=0;;i++)
     {
       ob1.initial_task();
       cin>>a;
       switch(a)
       {
     case 1:
        if(y>0)
         {
           cout<<"YOU CAN NOT INSERT ITEAM MORE THAN ONE TIMES"<<'\n'<<'\n';
           break;
          }
         else
         {
           cout<<"how many catagory do u want to insert=";
           cin>>n;
           for(i=0;i<n;i++)
            {
              du[y].insert();
              du[y].insert_du();
               y++;
             }
          }
         break;
      case 2:
        if(y<=0)
        {ob1.error1();
        break;}
         else
         {
           cout<<"how many catagory do u want to add=";
           cin>>n;
           for(j=0;j<n;j++)
            {
             du[y].add();
             du[y].insert_du();
              y++;
             }
          break;
          }
       case 3:
        if(y<=0)
        {ob1.error1();
        break;}
         else
         {
          for(s=0;s<y;s++)
           {
             du[s].display();
             du[s].display_du();
           }
           break;
         }
       case 4:
        if(y<=0)
        {ob.error1();
        break;}
        if(y>0)
        {
         cout<<"enter ur desired catagory=";
         cin>>inp;
         for(c=0;c<y;c++)
         {
           b=strcmp(inp,du[c].catagory);
           if(b==0)
           break;
          }
          if(b==0)
           { du[c].search();
            du[c].display_du();}
           break;
          }
        case 5:
        if(y<=0)
        {ob1.error1();
          break;}
        else
        {
         cout<<"enter ur desired catagory=";
         cin>>inp;
         for(c=0;c<y;c++)
         {
           b=strcmp(du[c].catagory,inp);
           if(b==0)
           break;
          }
          if(b==0)
            du[c].remove();
           break;
          }
         case 6:
        if(y<=0)
         {ob.error1();
          break;}
        else
        {
          for(z=g;z<x;z++)
          {
            f2=f2+du[z];
            g++;
          }
        for(i=0;i<y;i++)
        du[i].catago_amount();
        f2.total_amount();
        break;
        }
     }
     if(a==0)
     break;
       }
       break;
       case 3:
    for(i=0;;i++)
     {
       ob2.initial_task();
       cin>>a;
       switch(a)
       {
     case 1:
        if(z>0)
         {
           cout<<"YOU CAN NOT INSERT ITEAM MORE THAN ONE TIMES"<<'\n'<<'\n';
           break;
          }
         else
         {
           cout<<"how many catagory do u want to insert=";
           cin>>n;
           for(i=0;i<n;i++)
            {
              ma[z].insert();
              ma[z].insert_ma();
               z++;
             }
          }
         break;
      case 2:
        if(z<=0)
        {ob2.error1();
        break;}
         else
         {
           cout<<"how many catagory do u want to add=";
           cin>>n;
           for(j=0;j<n;j++)
            {
             ma[z].add();
             ma[z].insert_ma();
              z++;
             }
          break;
          }
       case 3:
        if(z<=0)
        {ob2.error1();
        break;}
         else
         {
          for(s=0;s<z;s++)
           {
             ma[s].display();
             ma[s].display_ma();
           }
           break;
         }
       case 4:
        if(z<=0)
        {ob2.error1();
        break;}
        if(z>0)
        {
         cout<<"enter ur desired catagory=";
         cin>>inp;
         for(c=0;c<z;c++)
         {
           b=strcmp(inp,ma[c].catagory);
           if(b==0)
           break;
          }
          if(b==0)
            {ma[c].search();
            ma[s].display_ma();}
           break;
          }
        case 5:
        if(z<=0)
        {ob2.error1();
          break;}
        else
        {
         cout<<"enter ur desired catagory=";
         cin>>inp;
         for(c=0;c<z;c++)
         {
           b=strcmp(ma[c].catagory,inp);
           if(b==0)
           break;
          }
          if(b==0)
            ma[c].remove();
           break;
          }
         case 6:
        if(z<=0)
         {ob2.error1();
          break;}
        else
        {
          for(q=g;q<z;q++)
          {
            f3=f3+ma[q];
            g++;
          }
        for(i=0;i<z;i++)
        ma[i].catago_amount();
        f3.total_amount();
        break;
        }
     }
     if(a==0)
     break;
       }
       break;
      }
      if(a1==0)
      break;
      }
       return 0;
     }



Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

C++ Project Code for Departmental Store Management System

CODE:

#include<iostream.h>
#include<conio.h>
const int m=20;
  class dept
  {   int amount[m],pris[m],k,a,b,amount1;
      int code,code1,cod[m],s,last;
    public:
       float price,price1;
       dept(void);
       void sell(void);
       void total_items(void);
       void add_old(void);
       void add_new(void);
       void show(void);
     };
    dept:: dept(void)
    { s=0;a=10;b=40;last=5;amount[0]=0;
      for(int k=0;k<last;k++)
      { s=s+1;b=b+10;
      cod[k]=s;
      amount[k]=a;
      pris[k]=b;
      }
     }
   void dept::add_old(void)
    { cout<<"\nEnter item code:";
      cin>>code1;
      cout<<"\nEnter item price:";
      cin>>price1;
     for(k=0;k<last;k++)
       { if(code1==cod[k])
      { a=a+1;
        amount[k]=a;
        pris[k]=price1;
      }
       //    else
     //cout<<"\nSorry..This item is not available.\n";
       }
      }
   void dept::add_new(void)
   {    cout<<"\nEnter item code:";
    cin>>code1;
    cout<<"\nEnter amount of that item:";
    cin>>amount1;
    cout<<"\nEnter item price:";
    cin>>price1;

    cod[last]=code1;
    amount[last]=amount1;
    pris[last]=price1;
    last++;
     }
    void dept::show(void)
     { for(k=0;k<last;k++)
    {
      cout<<"\nCODE:"<<cod[k]<<"\t";
      cout<<"\nAMOUNT:"<<amount[k]<<"\t";
      cout<<"\nPRICE:"<<pris[k]<<endl;
      }
    }
  void dept::sell(void)
   {
    cout<<"\nEnter product code:\n";
    cin>>code;
    cout<<"\nEnter product price:\n";
    cin>>price;
    }
  void dept::total_items(void)
   {
     cout<<"\n\nITEM CODE:"<<code<<"\n\nITEM PRICE:"<<price;
   }
  int main()
  {
     dept d[10];
     static int j=0;
     int x,i=0,p,s=0;
    clrscr();
    do{
       cout<<"\nENTER YOUR CHOICE:\n";
       cout<<"\n1. Show all stored items:";
       cout<<"\n2. Add an old item:";
       cout<<"\n3. Add a new item:";
       cout<<"\n4. Sell an item:";
       cout<<"\n5. Total sold:";
       cout<<"\n6. Show total items sold:";
       cout<<"\n7. Quit";

      cin>>x;
    switch(x)
    {   case 1: d[i].show();
            break;
        case 2: d[i].add_old();
            d[i].show();
            break;
        case 3: d[i].add_new();
            d[i].show();
            break;
        case 4: d[i].sell();
            i++,j++;
            break;
        case 5:{ cout<<"Total Sold:";
             s=0;

             for(p=0;p<j;p++)
             { s=s+d[p].price;
             }
             cout<<s;
             cout<<"TK.\n";
             }
             break;
        case 6: for(i=0;i<j;i++)
              {  d[i].total_items();
               }
              break;
        case 7: break;
         }
         } while(x!=7);
          getch();
          return 0;
       }




Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

Data for Dispensary Management System

1.TXT Data :

32
123NAME:-qwq
ID:- 1
BUYING VALUE:- 32 TAKA
SELLING VALUE:- 123 TAKA
NEAT PROFIT:- 91 TAKA

2.TXT Data :

34
38NAME:-s
ID:- 2
BUYING VALUE:- 34 TAKA
SELLING VALUE:- 38 TAKA
NEAT PROFIT:- 4 TAKA

3.TXT Data :

56
60NAME:-d
ID:- 3
BUYING VALUE:- 56 TAKA
SELLING VALUE:- 60 TAKA
NEAT PROFIT:- 4 TAKA

4.TXT Data :

345
234NAME:-wet
ID:- 4
BUYING VALUE:- 345 TAKA
SELLING VALUE:- 234 TAKA
NEAT PROFIT:- -111 TAKA

11.TXT Data :

234
2356NAME:-iuewrj
ID:- 11
BUYING VALUE:- 234 TAKA
SELLING VALUE:- 2356 TAKA
NEAT PROFIT:- 2122 TAKA

45.TXT Data :

456
566NAME:-lk
ID:- 45
BUYING VALUE:- 456 TAKA
SELLING VALUE:- 566 TAKA
NEAT PROFIT:- 110 TAKA

333.TXT Data :

3214
2134NAME:-werttr
ID:- 333
BUYING VALUE:- 3214 TAKA
SELLING VALUE:- 2134 TAKA
NEAT PROFIT:- -1080 TAKA

D.TXT Data :

10
12NAME:-a
ID:- d
BUYING VALUE:- 10 TAKA
SELLING VALUE:- 12 TAKA
NEAT PROFIT:- 2 TAKA

ID.TXT Data :

1
1NAME:-1
ID:- id
BUYING VALUE:- 1 TAKA
SELLING VALUE:- 1 TAKA
NEAT PROFIT:- 0 TAKA


Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

C++ Project Code for Dispensary Management System

CODE:

#include<fstream.h>
#include<conio.h>
#include<string.h>
#include<dos.h>

class drags{
          protected:
          char drag[20];
          char id[7];
          void get(){
             cout<<"\nINPUT THE NAME OF MEDICINE\n";
             cin>>drag;
             cout<<"\nINPUT IDENTIFICATION NUMBER\n";
             cin>>id;
             }
       } ;

class cost:public drags{
              protected:
              float buy;
              float sell;
              float earn;
              void cal(){earn=sell-buy;}
              void getdata();
              };

void cost::getdata()
       {
         get();
         cout<<"\nWHAT IS BUYING COST \n";
         cin>>buy;
         cout<<"\nWHAT IS SELLING COST \n";
         cin>>sell;
         cal();
         cout<<"\nDATA SAVING\n";
         for(int i=0;i<8;i++)
         {sound(2600);
          delay(100);
          nosound();
          delay(500);
          cout<<".";
         }
       }

class savedata:public cost
          {
           protected:
           char file[40];
           void filemak(){
                strcpy(file,"drugs\\");
                strcat(file,id);
                strcat(file,".txt");
                }
           void save();
         };

void savedata::save()
          {
           filemak();
           ofstream x(file);
           x<<buy<<endl<<sell;
           x<<"NAME:-"<<drag<<endl;
           x<<"ID:- "<<id<<endl;
           x<<"BUYING VALUE:- "<<buy<<" TAKA"<<endl;
           x<<"SELLING VALUE:- "<<sell<<" TAKA"<<endl;
           x<<"NEAT PROFIT:- "  <<earn<<" TAKA"<<endl;
           x.close();
         }
class loaddata:public savedata
          {
        private:
        char ch;
        float garbage;
        protected:
        void load();
           };

void loaddata::load()
         {
          clrscr();
          cout<<"\nINPUT THE ID NUMBER FOR MEDICINE\n";
          cin>>id;
          filemak();
          ifstream x(file);
          clrscr();
          cout<<"\nFILE SEARCHING\n";
          for(int i=0;i<8;i++)
         {
          delay(500);
          cout<<".";
         }
          clrscr();
          cout<<"INFORMATION ON MEDICINE ID NO: "<<id<<endl;
          x>>garbage;
          x>>garbage;
          while(x)
           { x.get(ch);
             delay(100);
             cout<<ch;
           }
          getch();
          x.close();
        }

class changedata:public loaddata{
                 private :
                 float i,j;
                 protected:
                 void  change();
                };
void changedata::change()
         {
          clrscr();
          cout<<"INPUT ID AND NAME OF DRUGS WHICH VALUE U WANT TO CHANGE";
          cin>>id;
          cin>>drag;
          filemak();
          ifstream x(file);
          clrscr();
          x>>i;
          x>>j;
          x.close();
          cout<<"\nselling value is: "<<j<<" taka"<<endl;
          cout<<"buying value is: "<<i<<" taka"<<endl;
          cout<<"INPUT THE CHANGE VALUE FOR SELLING : ";
          cin>>j;
          cout<<"INPUT THE CHANGE VALUE FOR BUYING : ";
          cin>>i;
          sell=j;
          buy=i;
          cal();
          save();
         }

class start:protected changedata
               {
                 private:
                 int choice;
                 void display();
                 void bye(){
                     cout<<"\n\n\n\n\n\n\n\n\n\n\t\t\t\t*****************";
                     cout<<"\n\t\t\t\t*** GOOD BYE ****";
                     cout<<"\n\t\t\t\t*****************";
                     delay(3000);
                    }
                 public:
                 start();
               };
void start::display()
           {
            textcolor(5);
            clrscr();
            cout<<"\n*************************************************";
            cout<<"\n*\t\t WELCOME\t\t\t*\n*\t\t1...INPUT\t\t\t* \n*\t\t2...SEARCH\t\t\t*";
            cout<<"\n*\t\t3...CHANGE\t\t\t*\n*\t\t4...EXIT\t\t\t*\n";
            cout<<"*************************************************";
            cout<<"\n\nINPUT UR CHOICE: ";
           }
start::start()
       {
        while(1)
         {
          display();
          cin>>choice;
          clrscr();
          if(choice==4)
            {
             bye();
             break;
            }
          if(choice==1)
           {
            getdata();
            save() ;
           }
          if(choice==2)
             load();
          if(choice==3)
             change();
           }
       }

int main()
      {
        start s;
        return 0;

       }

///////////////////////////////////////////////////////////////////////////

Some file must be made or copied to the directory (drive_name:\tc\bin\ ). with the cpp file. Click Here To Get These File.

///////////////////////////////////////////////////////////////////////////


Contact:
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

Total Pageviews

CONTACT US

Prof. Roshan P. Helonde
Mobile: +917276355704
WhatsApp: +917276355704
Email: roshanphelonde@rediffmail.com

Enter Project Title

Popular Projects

All Archive

Contact Form

Name

Email *

Message *