Rahul Mathur <srivmuk <at> gmail.com> writes:You cannot cast "Apple01000" to int. Try this:
> TagName = TID + boost::lexical_cast<std::string>(TagID); // Should be as -
> Apple01
> TagInitial = TagName + boost::lexical_cast<std::string>(Value); // Should
> be as -> Apple01000
> int i = boost::lexical_cast<int>(TagInitial) + 1; // Should be as ->
> Apple01001
> TagUId = boost::lexical_cast<std::string>(i);
TagUId = TagName + boost::lexical_cast<std::string>(++Value);
// Should be as -> Apple01001
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users