T
tsunami
hi
I am confused while writing member functions
I have declared them as public members of the class
class BitArray{
public:
BitArray& operator <<(int); //overloaded left shift operator
BitArray& operator>>(int); //overloaded right shift operator
I have declared private data members as:
private:
unsigned char* bitarray;
int size;
If you give me a hand while writing this functions I will be so
glad.Thanks for all.
I am confused while writing member functions
I have declared them as public members of the class
class BitArray{
public:
BitArray& operator <<(int); //overloaded left shift operator
BitArray& operator>>(int); //overloaded right shift operator
I have declared private data members as:
private:
unsigned char* bitarray;
int size;
If you give me a hand while writing this functions I will be so
glad.Thanks for all.