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 4 2744
"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::ostringstr eam 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
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.awprofessio nal.com/catalog/product.asp?pro duct_id={2CF238 16-FD77-
4632-B7A8-387C7BF9DE8D}
In short: http://tinyurl.com/3p89 http://www.accu.org/bookreviews/publ.../s/s002103.htm
--
Attila aka WW
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.
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 looking to distribute
an application in the form of an Access 2000 mdb file ON A CD-ROM with forms
for user interaction, together with some documents. I need to display the
documents, calling them by path and name, but I cannot work out how to...
|
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 questions? I haven't
been able to find a mailing list or newsgroup specifically dealing
with the MySQL C API.
--
Med venlig hilsen / Best regards
|
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:
WHERE DSNAME LIKE 'ABC%'
Example that does not work:
|
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 connection at one time.
As far as the namespace, it depends on whether you will
want to reuse this class for other apps. The normal
naming convention is
CompanyName.MajorSystem.MajorClassification.Etc.
Although, I find it hard to create a new...
|
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 <cstddef> and <climits>
have some useful definitions. However, until I saw the code, I wasn't
even aware of their existence. Therefore, I'm hoping there's some kind
of reference (like what Sun has for Java) so that I can find out if
there's...
| |
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. Any ideas? I've
looked in .net and com but I'm not seeing it.
|
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 invalid use of null.
Fair enough Field1 and Field2 can contain nulls
I altered the 2 queries to exclude nulls from FasText and FasInteger-
|
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;
....
My compile fails using csc.exe:
|
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 report. The Control source for this field is SumOfbalance (and no - I did NOT forget to capitalize the b in balance). After a good deal of digging, I managed to find a reference to this field in a query in the VB code associated with this report. A...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |