* compiling an old c++ program: where is String.h ???
@ 2004-04-15 15:55 Andreas K. Huettel
2004-04-15 17:02 ` llewelly
0 siblings, 1 reply; 4+ messages in thread
From: Andreas K. Huettel @ 2004-04-15 15:55 UTC (permalink / raw)
To: gcc-help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[please cc, I am not on the list]
Dear list,
I am trying to compile an old c++ program (last maintained using SuSE
Linux 7.3, gcc 2.95.3) on a recent linux installation (SuSE 9.0, gcc 3.3.1
(SuSE Linux)).
However, I cannot find anywhere any reference to the header file
"String.h" (yes, uppercase) that seems to have been included earlier in
a libgpp.rpm, part of the gcc package.
Any hints on how I could add this to my compiler? Where can I download the
source of this library?
Thanks in advance, Andreas
- --
"I am not Spock", said Leonard Nimoy. "And it is highly illogical of
humans to assume so."
- ---------------------------------------------------------------------
Dipl.-Phys. Andreas K. Huettel tel. +49 89 2180 3349 (univ.)
Sektion Physik der LMU fax +49 89 2180 3182 (univ.)
LS Prof. J.P. Kotthaus huettel@lmu.de
Geschwister-Scholl-Platz 1 mail@akhuettel.de
80539 Muenchen andreas.huettel@physik.uni-muenchen.de
Germany http://www.akhuettel.de/research/
- ---------------------------------------------------------------------
Privat: Andreas K. Huettel, Enhuberstraße 5, 80333 Muenchen, Germany
- ---------------------------------------------------------------------
Please use GNUPG or PGP for signed and encrypted email. My public key
can be found at http://www.akhuettel.de/pgp_key.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAfrBhL+gLs3iH94cRAjpIAJ9Z+H1/6PDu3o+9AvSuVGPTdV6LyACff8E+
VFkx4Eb9yXwTfmp+2rPWR90=
=7NF3
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling an old c++ program: where is String.h ???
2004-04-15 15:55 compiling an old c++ program: where is String.h ??? Andreas K. Huettel
@ 2004-04-15 17:02 ` llewelly
2004-04-15 17:19 ` Andreas K. Huettel
0 siblings, 1 reply; 4+ messages in thread
From: llewelly @ 2004-04-15 17:02 UTC (permalink / raw)
To: Andreas K. Huettel; +Cc: gcc-help
"Andreas K. Huettel" <Andreas.Huettel@Physik.Uni-Muenchen.DE> writes:
> [please cc, I am not on the list]
>
> Dear list,
>
> I am trying to compile an old c++ program (last maintained using SuSE
> Linux 7.3, gcc 2.95.3) on a recent linux installation (SuSE 9.0, gcc 3.3.1
> (SuSE Linux)).
>
> However, I cannot find anywhere any reference to the header file
> "String.h" (yes, uppercase) that seems to have been included earlier in
> a libgpp.rpm, part of the gcc package.
[snip]
If this is the old, long-unmaintained libg++, I think you are out of
luck.
You can still get libg++ from ftp://ftp.gnu.org/gnu/libg++/ , but it
does not compile with current gcc.
I suggest you try contacting your linux distro insearch of a
libgpp.src.rpm, or whatever they call the source rpm.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling an old c++ program: where is String.h ???
2004-04-15 17:02 ` llewelly
@ 2004-04-15 17:19 ` Andreas K. Huettel
2004-04-15 17:36 ` llewelly
0 siblings, 1 reply; 4+ messages in thread
From: Andreas K. Huettel @ 2004-04-15 17:19 UTC (permalink / raw)
To: llewelly; +Cc: gcc-help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
#]> However, I cannot find anywhere any reference to the header file
#]> "String.h" (yes, uppercase) that seems to have been included earlier in
#]> a libgpp.rpm, part of the gcc package.
#][snip]
#]
#]If this is the old, long-unmaintained libg++, I think you are out of
#] luck.
#]
#]You can still get libg++ from ftp://ftp.gnu.org/gnu/libg++/ , but it
#] does not compile with current gcc.
#]
#]I suggest you try contacting your linux distro insearch of a
#] libgpp.src.rpm, or whatever they call the source rpm.
#]
Thanks, I'll try to get something. However as far as I can see, the last
time it was included, the libgpp rpm was built from the gcc source rpm (in
addition to gcc), so this may not work.
Since I might have to rewrite a lot, do you (or anybody else on this list)
accidentally know any good introductory C++ book that gives a decent
description on how to work with strings (in a way that won't be obsolete
soon ;-) ? I mean, for somebody who has done some programming, but does
not have much C++ knowledge?
Alternatively, are there good web resources?
Thanks a lot & kind regards, Andreas
- ---------------------------------------------------------------------
Dipl.-Phys. Andreas K. Huettel tel. +49 89 2180 3349 (univ.)
Sektion Physik der LMU fax +49 89 2180 3182 (univ.)
LS Prof. J.P. Kotthaus huettel@lmu.de
Geschwister-Scholl-Platz 1 mail@akhuettel.de
80539 Muenchen andreas.huettel@physik.uni-muenchen.de
Germany http://www.akhuettel.de/research/
- ---------------------------------------------------------------------
Privat: Andreas K. Huettel, Enhuberstraße 5, 80333 Muenchen, Germany
- ---------------------------------------------------------------------
Please use GNUPG or PGP for signed and encrypted email. My public key
can be found at http://www.akhuettel.de/pgp_key.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAfsQUL+gLs3iH94cRAvgvAJ9K5gEP0d9zRD9zgGdY+22M2BE5wQCgj6+c
f90nFOUFjcCSKNIqEXJYd4w=
=HrrO
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling an old c++ program: where is String.h ???
2004-04-15 17:19 ` Andreas K. Huettel
@ 2004-04-15 17:36 ` llewelly
0 siblings, 0 replies; 4+ messages in thread
From: llewelly @ 2004-04-15 17:36 UTC (permalink / raw)
To: Andreas K. Huettel; +Cc: gcc-help
"Andreas K. Huettel" <Andreas.Huettel@Physik.Uni-Muenchen.DE> writes:
> #]> However, I cannot find anywhere any reference to the header file
> #]> "String.h" (yes, uppercase) that seems to have been included earlier in
> #]> a libgpp.rpm, part of the gcc package.
> #][snip]
> #]
> #]If this is the old, long-unmaintained libg++, I think you are out of
> #] luck.
> #]
> #]You can still get libg++ from ftp://ftp.gnu.org/gnu/libg++/ , but it
> #] does not compile with current gcc.
> #]
> #]I suggest you try contacting your linux distro insearch of a
> #] libgpp.src.rpm, or whatever they call the source rpm.
> #]
>
> Thanks, I'll try to get something. However as far as I can see, the last
> time it was included, the libgpp rpm was built from the gcc source rpm (in
> addition to gcc), so this may not work.
>
> Since I might have to rewrite a lot, do you (or anybody else on this list)
> accidentally know any good introductory C++ book that gives a decent
> description on how to work with strings (in a way that won't be obsolete
> soon ;-) ? I mean, for somebody who has done some programming, but does
> not have much C++ knowledge?
I suggest Koenig and Moo's _Accelerated C++_ . It isn't just about
strings, however; it teaches basic C++ , with the assumption that
the reader knows no C++, but a little about programming. I believe
the Lippman and Lajoie(sp?) book on the C++ standard library
(can't recall the title) has a chapter on strings too.
As far as 'obsolete soon', the C++ standard was finalized in 1998 (and
_Accelerated C++_ assumes that standard) and only minor bug fixes
have taken place since then. std::string is part of that standard,
and it isn't going away or becoming obsolete any time soon.
> Alternatively, are there good web resources?
I don't know of any. But comp.lang.c++.moderated is a good place to
post C++ questions which are not implementation-specific.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-15 17:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-15 15:55 compiling an old c++ program: where is String.h ??? Andreas K. Huettel
2004-04-15 17:02 ` llewelly
2004-04-15 17:19 ` Andreas K. Huettel
2004-04-15 17:36 ` llewelly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).