[gameprogrammer] Re: How to assign a numeric variable to an std::string?
- From: Josh Stewart <aek@xxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Wed, 16 Jan 2008 01:04:27 +0900
float blah = boost:lexical_cast<float>("314.34");
of course you need to have and include the right boost header too.
Alan Wolfe wrote:
*printf for the win (:
it's funny, most everyone i talk to / work with seems to not be too
fond of the C++ strings and cout, cin and stream bs.
Wonder why that is...
On 1/11/08, Kevin Jenkins <gameprogrammer@xxxxxxxxxx> wrote:
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] How to assign a numeric variable to an std::string?
- From: Kevin Jenkins
- [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- From: Brian
- [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- From: Kevin Jenkins
- [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- From: Alan Wolfe
Other related posts:
- » [gameprogrammer] How to assign a numeric variable to an std::string?
- » [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- » [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- » [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- » [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- » [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- » [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- » [gameprogrammer] Re: How to assign a numeric variable to an std::string?
*printf for the win (: it's funny, most everyone i talk to / work with seems to not be too fond of the C++ strings and cout, cin and stream bs. Wonder why that is... On 1/11/08, Kevin Jenkins <gameprogrammer@xxxxxxxxxx> wrote:
- [gameprogrammer] How to assign a numeric variable to an std::string?
- From: Kevin Jenkins
- [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- From: Brian
- [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- From: Kevin Jenkins
- [gameprogrammer] Re: How to assign a numeric variable to an std::string?
- From: Alan Wolfe