C++ Word-Number to int
- by Andrew
I'm developing a program that makes basic calculations using words instead of numbers. E.g. five + two would output seven.
The program becomes more complex, taking input such as two_hundred_one + five_thousand_six
(201 + 5006)
Through operator overloading methods, I split each number and assign it to it's own array index.
two would be [0],…