Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a class called Biglnt. The Bigint class is going to be able to hold and perform arithmetic on integers of arbitrary size (numbers with
Write a class called Biglnt. The Bigint class is going to be able to hold and perform arithmetic on integers of arbitrary size (numbers with thousands, millions, or billions of digits). For this daily you are only doing a small portion of this class. Yoass must contain a string internally to store the number since the Biglnt can have millions of digits in it. You must also have a private member variable of type bool that remembers if the number is positive or negative class BigInt public: BigInt); I/ Initializes the BigInt to zero BigInt (int x); I/Initializes the BigInt to have the same value as x explicit BigInt (string x);//Initalizes the BigInt to have the value of the given string BUT //must check that the string is valid or exit(1) otherwise friend ost rear& operator
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started