class BigInt// extended int supporting numbers up to 1024 digits
{
public:
// constructors
BigInt();// initialized to 0
BigInt(int);// the first digit mustn't be 0
BigInt(char*);// the first digit mustn't be 0
程序说明:
1.extend type "int" to "BigInt"
2.BigInt requirements:
–Implemented as a class
–Support numbers up to 1024 digits
–Arithmetic & relational operators
–Read from stdin, write to stdout
–Certain constructors