// – 1; cout<<" New message bit is "; for(int

//
//  main.cpp
//  CRCProject
//
//  Created by Vidit Kalani on 12/23/17.
//  Copyright © 2017 Vidit Kalani. All rights reserved.
//
#include
#define SIZE 20
using namespace std;

class CRC
{
    int messSIZE,divSIZE,resSIZE,remSIZE;
    int rmesSIZE,rdivSIZE,rresSIZE,rremSIZE;
    int msize,dsize,rsize;
    int rmsize,rdsize,rrsize;
    public :
    CRC();
    void getdata();
    void display();
    void convert();
    void checkcrc();
};

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

//CRC

CRC :: CRC()
{
    for(int i=0;i>msize;
    
    cout>messi;
    }
    
    cout>dsize;
    for(int i=0;i>divi;
    }
}//getdata()

void CRC :: display()
{
    cout0;i–)
    {
        remi = resrsize;
        rsize–;
    }
    cout>rmesi;
    }
    
    cout0;i–)
    {
        rremi = rresrrsize;
        rrsize–;
    }
    
    cout

x

Hi!
I'm Joan!

Would you like to get a custom essay? How about receiving a customized one?

Check it out