Programme Code : BCA
Course Code : cs-72
| More

Year : 2013 Views: 1218 Submitted By : apu ghosh On 29th March, 2013

Do you have solution for this Question. If yes    I aslo want solution.


Create a class LONGBINARYINTEGER that stores only binary digits (0 or 1) in a string

of arbitrary length (the string is in the order of lowest significant bit to highest significant

bit that is first element is lowest significant bit). The string has a constructor that makes

sure that String has only binary digits. The class also has a copy constructor, and an

overloaded + operator. The overloaded + operator adds two stings bit by bit taking care of

the carry bit from the previous bit addition. Design and implement the class using C++.

Write appropriate main( ) function to demonstrate the functionality of the class.

No Answer Found