473,378 Members | 1,410 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Is there a good online reference for C++ libraries?

Okay, I guess the answer is "yes". But where can I find it?
I was thinking of something like php.net, just for c++. Preferably some
documentation that refers to the same standards that the gnu c++
compiler does (I'm using g++ V3.3.5 under Suse Linux 9.3).

In this specific case I wanna know the easiest way how to convert an
integer into a string variable (I mean which library / function to
use). I'm not a programming newbie by any means, but getting used to a
new developing environment sorta makes me feel like one all over again,
when I suddenly have to work without an extensive language reference
within my favourite editor and the likes...

I'm pretty happy with the way I can look up things on php.net, for php
- if there's anything similar for C++, I'd be overjoyed if you could
share the info :)

I like parashift.com, but is this:

http://www.parashift.com/c++-faq-lit....html#faq-39.1
really the best way to do what otherwise could be a simple "alpha" << i
to make a string "alpha5" from i=5 ?

Best Regards,

Lars Uffmann

Feb 28 '06 #1
5 1718

<la**********@rwth-aachen.de> wrote in message
news:11**********************@t39g2000cwt.googlegr oups.com...
Okay, I guess the answer is "yes". But where can I find it?
I often use this online reference: http://www.dinkumware.com/refxcpp.html

I also recommend this hard copy book: www.josuttis.com/libbook
I was thinking of something like php.net, just for c++. Preferably some
documentation that refers to the same standards that the gnu c++
compiler does (I'm using g++ V3.3.5 under Suse Linux 9.3).

In this specific case I wanna know the easiest way how to convert an
integer into a string variable (I mean which library / function to
use). I'm not a programming newbie by any means, but getting used to a
new developing environment sorta makes me feel like one all over again,
when I suddenly have to work without an extensive language reference
within my favourite editor and the likes...

I'm pretty happy with the way I can look up things on php.net, for php
- if there's anything similar for C++, I'd be overjoyed if you could
share the info :)

I like parashift.com, but is this:

http://www.parashift.com/c++-faq-lit....html#faq-39.1
really the best way
You'll need to decide what 'best' means to you. It might
not mean the same to others.
to do what otherwise could be a simple "alpha" << i
to make a string "alpha5" from i=5 ?


-Mike
Feb 28 '06 #2
Mike Wahler wrote:
http://www.parashift.com/c++-faq-lit....html#faq-39.1
really the best way


You'll need to decide what 'best' means to you.Â*Â*ItÂ*might
not mean the same to others.


Google for 'boost::lexical_cast<>'. Then get a simple version that works,
not the eternally correct and un-borrow-able one at www.boost.org

That's the problem with C++ - we invented it before HTML, so it has no root
webpage or single controlling entity. So all the rules, guidelines, tricks,
and traps are scattered hither and yon.

--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
Feb 28 '06 #3
In article <11**********************@t39g2000cwt.googlegroups .com>,
la**********@rwth-aachen.de wrote:
Okay, I guess the answer is "yes". But where can I find it?
I was thinking of something like php.net, just for c++. Preferably some
documentation that refers to the same standards that the gnu c++
compiler does (I'm using g++ V3.3.5 under Suse Linux 9.3).
My favorite site is: <http://www.sgi.com/tech/stl/> for the stl stuff.
For everything else I just do a google search on the header name. Try
googling <cctype> and see what happens for example.

In this specific case I wanna know the easiest way how to convert an
integer into a string variable (I mean which library / function to
use). I'm not a programming newbie by any means, but getting used to a
new developing environment sorta makes me feel like one all over again,
when I suddenly have to work without an extensive language reference
within my favourite editor and the likes...

I like parashift.com, but is this:

http://www.parashift.com/c++-faq-lit....html#faq-39.1
really the best way to do what otherwise could be a simple "alpha" << i
to make a string "alpha5" from i=5 ?


That's what it takes. You need to use a stream of some sort to convert
the integer into a string, and you need to format it properly if the
default isn't satisfactory.
--
Magic depends on tradition and belief. It does not welcome observation,
nor does it profit by experiment. On the other hand, science is based
on experience; it is open to correction by observation and experiment.
Feb 28 '06 #4
On Tue, 28 Feb 2006 19:12:53 GMT, Phlip <ph*******@gmail.com> wrote:
That's the problem with C++ - we invented it before HTML


"we invented it" ... ??? I certainly had no part in it. It would be
interesting to hear what you did to help Bjarne Stroustrup back in
those days!

--
Bob Hairgrove
No**********@Home.com
Feb 28 '06 #5
On 28 Feb 2006 10:51:23 -0800, la**********@rwth-aachen.de wrote:
In this specific case I wanna know the easiest way how to convert an
integer into a string variable (I mean which library / function to
use). ....I like parashift.com, but is this:
http://www.parashift.com/c++-faq-lit....html#faq-39.1
really the best way to do what otherwise could be a simple "alpha" << i
to make a string "alpha5" from i=5 ?


No, but the C++ FAQ Lite contains many other useful and
understandable(!) tips. I'd write a function that internally uses
snprintf.

Best wishes,
Roland Pibinger
Feb 28 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: jodocus | last post by:
hi, I am new to python (but not to programming - have programmed in many other languages like C++/lisp/perl etc.) and I would like to buy a good book. The local bookstore has no books about...
4
by: Charles Banas | last post by:
I've been googling around for a while now an dhaven't been able to find anything beyond SGI's C++ STL reference, which is a bit too terse for my needs. At home, I have a copy of the C++...
26
by: vlsidesign | last post by:
I am a newbie and going through "The C programming language" by Kernighan & Richie on my own time (I'm not a programmer but I want to learn because it can save me time in my normal job, and it is...
17
by: Kevin Hall | last post by:
C++ is one of my favorite languages to work in. This is because it has so many differrent strengths. But there is also a number of blemishes in the language -- some could potentially be fixed,...
11
by: gjrw68 | last post by:
I used to code in C about 10 years ago but haven't done anything since than. What's the best refresher site out there for someone who codes daily and needs to get back into C? Cheers, TF
5
by: =?Utf-8?B?TWljaGFlbFF1aW5sYW4=?= | last post by:
In my development environment I can add references to the Microsoft Practices libraries and everything works ok. But when I copy the application to the test server I get the message "CS0234: The...
76
by: lorlarz | last post by:
Crockford's JavaScript, The Good Parts (a book review). This shall perhaps be the world's shortest book review (for one of the world's shortests books). I like Douglas Crockford (because I am a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.