2012-07-24

C++ BigInteger class

I’ve been going through the first Project Euler problems again, this time in C++. I’m reaching the point where I need some kind of an arbitrary precision integer math library.

Today, I actually find myself thinking about trying to write my own string integer class. I’m sure this isn’t efficient, and while I’m fairly sure I could deal with large integer addition, I’m not at all sure about subtraction or multiplication or division.

Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s