Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C++, I would like to fill a dynamic array using an overloaded istream. The purpose is to create a large integer bigger then normal
In C++, I would like to fill a dynamic array using an overloaded istream. The purpose is to create a large integer bigger then normal data types allow. So the idea is to prompt the user to enter a big positive integer of 100 characters max through an overloaded istream using a dynamic array. I read that the best way is to store the numbers as characters backwards (because I will eventually be adding two sets of arrays) but I am not sure how to write that.
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