|
|
Warp wrote:
> No need for atoi(). You can use stringstreams, as I wrote in the other
> post.
I did think using a C function seemed a little bogus.
(For one thing, AFAIK, there is *no way* to know whether atoi()
succeeded or failed; if it "fails", you get a zero. So was the string
actually a zero, or did the conversion fail??)
Post a reply to this message
|
|