[SOLVED] Modify the BigInt class

30.00 $

Category: Tags: , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon 10656848..zip (3.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

To complete this module you should complete the Module Six Quiz and finish Assignment Six (below). Post your Muddiest Point for this module to Piazza (remember to tag it with the correct module), this should be something in the content you don’t feel confident you completely understand.

Objective

To gain experience of using STL containers and iterators.

Project Description

Modify the BigInt class by

  • adding the > operation to determine whether one BigInt object is bigger than another.
  • adding the subtraction operation – to class BigInt: int1 – int2 which should return 0 if int1 is less than int2.
  • (Bonus) adding the multiplication operation * to class BigInt.

Download files:

BigInt.h, BigInt.cpp — for your modification.

proj6test.cpp — for testing your modified BigInt class (DO NOT modify this file!).

Sample Run

Upload your source code files (upload – do NOT zip them! – your two source files: BigInt.h and BigInt.cpp) below.

 

  • 10656848..zip