Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Write a BigInt class
A BigInt class can represent an int of any numeric value, unlike fixed width ints (for example, the primative int type).
Must support the following operators:
copy ctor, dtor, =
+, -, +=, -=, *, *=
==, !=, <, >, <=, >=
unary -
ostream >>
istream <<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.