This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: manual on-line and Q


On Tue, Jun 25, 2002 at 07:59:51AM -0300, Martín Marqués wrote:
> I would like to know which is a good manual for not so newbie C/C++ programmer 
> (with info about math functions, etc.), and a Q I have.

I'am happy with the books by Scott Meyers:
http://www.aristeia.com/books_frames.html
Sorry for advertising.

> 
> How do I concatenate into strings other data types, like double or int?

May be http://www.boost.org/libs/conversion/index.htm helps.

example:

#include <boost/lexical_cast.hpp>
using std::string;
using boost::lexical_cast;
string dummy = string("bla") + lexical_cast<string>(myInteger) + string(")");

thomas

> 
> -- 
> Porqué usar una base de datos relacional cualquiera,
> si podés usar PostgreSQL?
> -----------------------------------------------------------------
> Martín Marqués                  |        mmarques@unl.edu.ar
> Programador, Administrador, DBA |       Centro de Telematica
>                        Universidad Nacional
>                             del Litoral
> -----------------------------------------------------------------

-- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]