Quote:
|
Originally Posted by Valmont
Hmm. We, especially me, don't like itoa() in this part of the forum.
You see, that function is supported by many compilers, but was never part of the ISO standard. Not in C, and not in C++. It wasn't even part of the American ANSI standards.
So we need a homebuilt function to do the conversion.
|
Well, that's how I was taught in my C++ Computer Programming class. I guess my professor just made it easier for us (I'm just finishing my 1st C++ course, registered for my 2nd one next semester). However, I'll attempt to try the "standard" way. Thanks for your suggestion.
I have to go to work so hopefully I'll continue working on it tomorrow.
PS
Why are math majors required to take C++ courses? It doesn't make much sense to me. I don't think I'll ever use it in life anyways.