Find Jobs
Hire Freelancers

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

$30-40 USD

ที่ทำเสร็จแล้ว
โพสต์ ประมาณ 21 ปีที่ผ่านมา

$30-40 USD

ชำระเงินเมื่อส่งงาน
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 ([login to view URL] or [login to view URL]) ## 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.
รหัสโปรเจกต์: 2910018

เกี่ยวกับโปรเจกต์

11 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 21 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
หมอบหมายให้:
รูปอวาตาร์ของผู้ใช้
See private message.
$7 USD ใน 14 วัน
3.9 (24 รีวิว)
2.8
2.8
11 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $20 USD สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
See private message.
$29.75 USD ใน 14 วัน
4.5 (144 รีวิว)
6.0
6.0
รูปอวาตาร์ของผู้ใช้
See private message.
$17 USD ใน 14 วัน
4.9 (138 รีวิว)
5.6
5.6
รูปอวาตาร์ของผู้ใช้
See private message.
$25.50 USD ใน 14 วัน
4.8 (34 รีวิว)
4.4
4.4
รูปอวาตาร์ของผู้ใช้
See private message.
$11.05 USD ใน 14 วัน
4.2 (111 รีวิว)
4.4
4.4
รูปอวาตาร์ของผู้ใช้
See private message.
$34 USD ใน 14 วัน
5.0 (17 รีวิว)
4.0
4.0
รูปอวาตาร์ของผู้ใช้
See private message.
$21.25 USD ใน 14 วัน
5.0 (17 รีวิว)
3.8
3.8
รูปอวาตาร์ของผู้ใช้
See private message.
$22.10 USD ใน 14 วัน
4.9 (23 รีวิว)
3.5
3.5
รูปอวาตาร์ของผู้ใช้
See private message.
$29.75 USD ใน 14 วัน
5.0 (7 รีวิว)
2.8
2.8
รูปอวาตาร์ของผู้ใช้
See private message.
$11.05 USD ใน 14 วัน
5.0 (5 รีวิว)
2.7
2.7
รูปอวาตาร์ของผู้ใช้
See private message.
$11.05 USD ใน 14 วัน
0.0 (2 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ SOUTH AFRICA
South Africa
4.9
32
เป็นสมาชิกตั้งแต่ ก.พ. 24, 2003

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง