Assignment 6 - Big Integers Solution.ZIP

Assignment 6 - Big Integers Solution

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.


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.
Powered by