In Progress

A practical assignment - Reading, displaying,adding & subtracting binary numbers

Hi, I am a student, and I desperately seek help with the following program. Write a complete C++ program that will enable you to read, display, add up and subtract binary numbers. The program file should contain a class Binary that stores a binary number as a character string. (consisting of digits 0 and 1) You will need one or more constructors as well as member functions to set a number (assign it to private member), get a number, and add a number to the one stored as a private variable. Functions consisting of one line, should be inline. Use initializer lists, explicit constructors and constant member functions if required. Test your program by entering two binary numbers from the keyboard, adding them, subtracting them and displaying the answer. Adding and subtracting should take place digit by digit. Use functions of the string class to accomplish this. Your function should be able to accommodate number strings of different lengths. Also add the following: · Add functions to overload the += , -=, - and + operators to accomplish the required addition and subtraction. (An answer may be negative after subtracting) · Overload operators << and >> in order to read a binary string from the keyboard and write it to the screen. These functions should be friends of the class. · Add code to the input functions to check the validity of the input strings. A binary number consists of digits 0 and 1. An error message should result if invalid characters are included. Prompt the user to reenter the string until it is correct. Save program as one file ([url removed, login to view] or [url removed, login to view])

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

Windows 2000,in all 3.0+ versions of Internet Explorer and Netscape". Actually It just needs to be able to compile through C++ compilers.

Skills: C Programming, Engineering, MySQL, PHP, Software Architecture, Software Testing

See more: you by your numbers, variable programming, use of binary, test seek, strings in c programming, string in cpp, string functions in cpp, string cpp, seek test, seek c, seek a, programming with cpp, programming variable, programming operators, programming keyboard, programming in binary, practical programming in c, practical programming, practical php programming, practical c programming, numbers function, need help with programming assignment, need help programming assignment, hi in binary code, function of numbers

About the Employer:
( 32 reviews ) South Africa

Project ID: #2910018

Awarded to:

navenduvw

See private message.

$7 USD in 14 days
(24 Reviews)
2.8

11 freelancers are bidding on average $20 for this job

finecodervw

See private message.

$29.75 USD in 14 days
(144 Reviews)
6.0
cinterosystems

See private message.

$17 USD in 14 days
(138 Reviews)
5.6
preyasvw

See private message.

$25.5 USD in 14 days
(34 Reviews)
4.4
emesevw

See private message.

$11.05 USD in 14 days
(111 Reviews)
4.4
lalesculiviu

See private message.

$34 USD in 14 days
(17 Reviews)
4.0
vw450309vw

See private message.

$21.25 USD in 14 days
(17 Reviews)
3.8
vw627017vw

See private message.

$22.1 USD in 14 days
(23 Reviews)
3.5
costelc

See private message.

$29.75 USD in 14 days
(7 Reviews)
2.8
cgtvw

See private message.

$11.05 USD in 14 days
(5 Reviews)
2.7
anasmhashmi

See private message.

$11.05 USD in 14 days
(2 Reviews)
0.0