delorie.com/archives/browse.cgi | search |
From: | "Charlie Hall" <chazhall AT extra DOT mindspring DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Need help - String Class (compiling/linking) |
Date: | Wed, 1 Nov 2000 14:53:53 -0500 |
Organization: | MindSpring Enterprises |
Lines: | 31 |
Message-ID: | <8tpsd3$3iq$1@slb7.atl.mindspring.net> |
References: | <8tndkb$pu7$1 AT slb1 DOT atl DOT mindspring DOT net> <39ff50ed DOT 52358905 AT news DOT freeserve DOT net> <8tnnpk$61u$1 AT slb1 DOT atl DOT mindspring DOT net> <39ffcd07 DOT 1765241 AT news DOT freeserve DOT net> |
NNTP-Posting-Host: | 3f.34.0b.9d |
X-Server-Date: | 1 Nov 2000 19:54:11 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
To Streamer and Paul Cechner -- Thanks very much for your help. I'm off and running again after being more careful about case sensitivity. Charlie Steamer <dontmailme AT iname DOT com> wrote in message news:39ffcd07 DOT 1765241 AT news DOT freeserve DOT net... > Charlie Hall wrote: > > > I tried what you suggested, and now I get the following error messages: > > > > In function 'int main()': > > 'String' undeclared (first use this function) > > parse error before '(' > > As Paul Cechner has already pointed out, it should be "string", not > "String". C++ is a case-sensitive language. If you copy and paste > the program from my message it should work fine. > > > You mentioned that _String.h is just a DJGPP thing. What is <string>? Is > > it the "standard C++" string class header? > > Yes. ANSI/ISO C++ has 69 standard headers. You can find a list of them > at http://www.dinkumware.com/htm_cpl/index.html . (Ignore the last 5 - > fstream.h to stl.h - they are non-standard ones in Dinkum's implementation.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |