grippins — 5/12/2025, 2:05:41 PM

Tips on taking a C++ string class object that only contains a number (e.g. "-200") and converting it into an int or double?

♥ 3 ↩ 1 💬 4 comments

comments

strawberrypuding:

maybe you can iterate through the string and make a number from it with decimal expansion?

5/12/2025, 5:59:40 PM
stareye:

no

5/12/2025, 3:01:11 PM
stareye:

sorry :(

5/12/2025, 3:01:17 PM
grippins:

I forgive you.

5/12/2025, 9:39:00 PM