Assignment 3

Due Thursday 18th October.



Create a class or struct that implements Big Integers (objects that behave like normal ints, except that they can have hundreds of digits), providing addition, subtraction, and multiplication as available operations (division for extra credit). Include appropriate constructors and any other methods you deem useful.

Implement your Big Int class or struct in its own .cpp and .h files, so that you can incorporate it into other programs with minimal difficulty.

Provide an html/cgi web-based interface to this program. For an example of how it might behave, follow this link.

The html page used to gain access to your program should be called calculator.html, and be in your public_html directory so that we can test it. Submit only .cpp and .h files in the usual way.