Boost logo

Boost :

Subject: Re: [boost] Concatenating int value to string ..??
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2013-11-02 07:32:25


Rahul Mathur wrote:
> YES, it's a run time exception could you suggest how to handle this ..

First of all, replying to an email on this mailing list you should
answer below the text you're refering too. The way you're doing it now
is called top-posting and shouldn't be used here.

You can't convert string "Apple01000" to an int because it not
represents a number. There is an 'Apple' word there!
BTW, your string is probably equal to "Apple10".
I'd advise you to run a debugging session in your IDE after placing a
breakpoint at the beginning and step each line to see what is happening
in the code.


Boost list run by bdawes at, gregod at, cpdaniel at, john at