$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] convert from string to int
From: Michele Caini (michele.caini_at_[hidden])
Date: 2010-02-11 12:53:41
Il 11/02/2010 17:17, pedro chaparro ha scritto:
> hi, what is the sintax of the command to do a conversion from string to int?
> thanks
Maybe you can use boost lexical_cast. Something like:
boost::lexical_cast<int>(your_std_string):