www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/03/12:50:56

Message-Id: <199810031650.MAA15465@delorie.com>
Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk>
To: "Thiago F.G. Albuquerque" <thiagofga AT ambr DOT com DOT br>
Date: Sat, 3 Oct 1998 17:48:04 +0000
MIME-Version: 1.0
Subject: Re: libg++ and stdc++
Reply-to: mert0407 AT sable DOT ox DOT ac DOT uk
CC: djgpp AT delorie DOT com
X-mailer: Pegasus Mail for Win32 (v2.42a)

On  2 Oct 98 at 23:43, Thiago F.G. Albuquerque wrote:

> Did you know that in order to use the string class in your program, you
> have to #include - not "string" or "cstring" (both available in cxx's
> include directory)- but "_String.h"? What a pity the docs don't say a line
> about this (or at least I couldn't find it). Does anybody know where can I
> find information on which header goes with each class?

Section 8.2 of the FAQ says this:

| didn't install it, GCC won't find them.  Files whose names
| usually start with a capital letter, on MS-DOS have an
| underscore `_' prepended so they can be distinguished from
| `complex.h', `regex.h' and the like under case-insensitive DOS. 
| Change `Complex.h' to `_Complex.h', and `String.h' to
| `_String.h' in your source, and GCC will find them.  The same
| goes for the header `iostreamP.h'--you should use `_iostreamP.h'
| instead.  If you don't have the underscore `_' on your keyboard,
| you might find using `strclass.h' instead of `_String.h' easier.

Does this help?  I don't use C++ so I don't know, but it seems 
to be explaining what you asked about.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019