delorie.com/archives/browse.cgi | search |
Message-ID: | <391F3CF4.F61BB919@earthlink.net> |
From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
Organization: | Nocturnal Aviation |
X-Mailer: | Mozilla 4.73 [en] (Win95; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: string wuh; |
References: | <002401bfbdd7$2054a620$650f3acb AT default> |
Lines: | 44 |
Date: | Sun, 14 May 2000 23:54:28 GMT |
NNTP-Posting-Host: | 63.11.190.76 |
X-Complaints-To: | abuse AT earthlink DOT net |
X-Trace: | newsread1.prod.itd.earthlink.net 958348468 63.11.190.76 (Sun, 14 May 2000 16:54:28 PDT) |
NNTP-Posting-Date: | Sun, 14 May 2000 16:54:28 PDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> Alastair Hogge wrote: a) Don't post HTML here b) the string class is in the C++ header <string> the C++ header corresponding to the C header <string.h> is <cstring> > > My code: > ======================== > #include <string.h> > > int main(void) > { > string foo; > > return 0; > } > > My compiler messages: > ======================== > gpp string.cc -o string.exe > string.cc: In function 'int main()': > string.cc:5: 'string' undeclared (first use this function) > string.cc:5: (Each undeclared indentifier is reported only once > string.cc:5: for each function it appears in.) > string.cc:5: parse error before ';' > > -- > Al > > -- Martin Ambuhl mambuhl AT earthlink DOT net What one knows is, in youth, of little moment; they know enough who know how to learn. - Henry Adams A thick skin is a gift from God. - Konrad Adenauer __________________________________________________________ Fight spam now! Get your free anti-spam service: http://www.brightmail.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |