2 Nov
2013
2 Nov
'13
11:48 a.m.
On Nov 2, 2013, at 4:44 AM, Rahul Mathur
I wish to have string (combination of string value and int value) which increments until 100. The code is as below -
[snip code trying to use lexical_cast to parse a string as an int] This question is off topic for the developer's list. That aside, and apart from the other suggestions made about how to use lexical_cast, I'd suggest considering snprintf(); the result will be more efficient. ___ Rob (Sent from my portable computation engine)