A BinaryStore calculator will store bytes “stored in strings” with their addresses, i.e., at each address in the BinaryStore there is a stored Byte. Each address will be 4 characters string and each byte will be 8 characters strings. Create a class BinaryStore and class Byte that offer following overloaded operators. class offers the following methods: an overloaded +=operator that will add the address in the list of BinaryStore an overloaded + that will add two string bytes for Byte Class an overloaded - that will subtract two string bytesByte Class an overloaded || operator that will give the string which is bit by bit logical or of act two string bytes for Byte Class an overloaded && operator that will give the string which is bit by bit logical and of act two string bytesfor Byte Class an overloaded == operator that will give bool value if they are equal or notfor Byte Class
Comments
Leave a comment