Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

Know how procedures protect an organization

Answered: 1 week ago