473,406 Members | 2,705 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,406 software developers and data experts.

where to find c++ reference???

Hi,

i usually write C programs under linux and i make heavily use of the
superb documentation provided by the system itself (man/info pages, html
documentation of the gcc package)

But, now i have to port a g++ 2.9.5 program to g++ 3.3 and as you all may
know things have changed...

In particular the strstream/sstream class causes problems.
I searched my whole system (SuSE 8.2) and the internet with google.
But i can't find ANY useful information. The only thing i need is a
reference of the stdc++ library implementet by GNU.

So where do i find one?
Do have any ideas?

Thanks in advance,
Christoph
Jul 19 '05 #1
4 2720
"C. Hagedorn" <Ha******@kima.de> writes:
In particular the strstream/sstream class causes problems.
I searched my whole system (SuSE 8.2) and the internet with google.
But i can't find ANY useful information. The only thing i need is a
reference of the stdc++ library implementet by GNU.


The Standard Library is part of the language. You need to study a
good reference about Standard C++ and read about the classes
implemented in the <sstream> header file; e.g.

#include <iostream>
#include <sstream>
....
std::ostringstream s;
int x = 42;
s << "The value of x is " << x;
std::cout << s.str() << std::endl;

--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Dept. of Physics, Univ. of Padova, Italy ROT13: yb****@cq.vasa.vg
Jul 19 '05 #2
C. Hagedorn wrote:
Hi,

i usually write C programs under linux and i make heavily use of the
superb documentation provided by the system itself (man/info pages,
html documentation of the gcc package)

But, now i have to port a g++ 2.9.5 program to g++ 3.3 and as you all
may know things have changed...

In particular the strstream/sstream class causes problems.
I searched my whole system (SuSE 8.2) and the internet with google.
But i can't find ANY useful information. The only thing i need is a
reference of the stdc++ library implementet by GNU.

So where do i find one?


I don't know if such a reference exists for the GNU implementation. There
is one huge reference on the gcc site, but IIRC it tells much more than you
need and it tells less - it is not a tutorial. One good reference is the
Josuttis book, andother one for the IOStreams is the Langer and Kraft one:

http://www.awprofessional.com/catalog/product.asp?product_id={2CF23816-FD77-
4632-B7A8-387C7BF9DE8D}

In short: http://tinyurl.com/3p89

http://www.accu.org/bookreviews/publ.../s/s002103.htm

--
Attila aka WW
Jul 19 '05 #3
C. Hagedorn wrote:
Hi,

i usually write C programs under linux and i make heavily use of the
superb documentation provided by the system itself (man/info pages, html
documentation of the gcc package)

But, now i have to port a g++ 2.9.5 program to g++ 3.3 and as you all may
know things have changed...

In particular the strstream/sstream class causes problems.
I searched my whole system (SuSE 8.2) and the internet with google.
But i can't find ANY useful information. The only thing i need is a
reference of the stdc++ library implementet by GNU.

So where do i find one?
Do have any ideas?


Since the latest version of the GNU C++ library is just about
standards compliant, the reference from Dinkumware would be useful.

Find it at:

http://dinkumware.com/refxcpp.html
<OT>
See the FAQ of the GNU documentation at:
http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html
</OT>

Remember, search engines (like Google, for example) are your friend.
*Use* 'em!

HTH,
--ag

--
Artie Gold -- Austin, Texas
Oh, for the good old days of regular old SPAM.

Jul 19 '05 #4
C. Hagedorn wrote:
Hi,

i usually write C programs under linux and i make heavily use of the
superb documentation provided by the system itself (man/info pages, html
documentation of the gcc package)

But, now i have to port a g++ 2.9.5 program to g++ 3.3 and as you all may
know things have changed...

In particular the strstream/sstream class causes problems.
I searched my whole system (SuSE 8.2) and the internet with google.
But i can't find ANY useful information. The only thing i need is a
reference of the stdc++ library implementet by GNU.

So where do i find one?
Do have any ideas?


www.sgi.com
www.dinkumware.com

There may be more listed in comp.lang.c++ FAQ (I've got a memory like a
sieve).
--
Guy Harrison
Jul 19 '05 #5

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

Similar topics

3
by: Jim SUTTON | last post by:
Full blown VB6 has a global object called App which I can use to find the location in the file system of the exe I am running (App.Path). Is there a ready equivalent in VBA? Specifically, I am...
2
by: David List | last post by:
I posed a MySQL C API question a few days back here, and got zero answers. I assume it is because this is not the right place to ask such questions. Does anyone here know where I could ask C API...
4
by: Tom Walker | last post by:
I cannot get the WHERE statement to work correctly unless I use a literal with the LIKE. I want to use a working storage data name so that I can vary the WHERE statement. Example that works: ...
3
by: mike.miller | last post by:
You could create a static class for the connection with static properties for the connection object itself and all of the associated properties. Just be aware that only one object can use a...
7
by: xian_hong2046 | last post by:
Hello, Is there any complete online C++ (and also C) reference that describes all header files and the functions/definitions available in the header files? I found out some header files such as...
2
by: cj | last post by:
I upgraded a 2003 program awhile back to 2005 and it added a reference to Interop.MSMAPI. I just started a new 2005 program from scratch and I can't seem to find MSMAPI to add a reference to it. ...
9
by: Yitzak | last post by:
Hi spent a few hours on this one wrote a query that joined on results of 2 other queries. Qry3 using Qry1 and Qry2 When I used Qry1.FasText <cstr(Qry2.FasInteger) in the where clause - got...
3
by: Marco Shaw | last post by:
I've got some C# code to create a custom PowerShell cmdlet with these statements: .... using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; .... ...
2
by: blackduck603 | last post by:
Hi, I am fairly new to Access programming and Reports. I have inherited a project and am trying to understand some of the inner workings. There is a field named Overall in the Detail section of my...
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
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.