delorie.com/archives/browse.cgi | search |
From: | Alexey Zakhlestine <alx AT gs707 DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: can't get STRING to work. |
Date: | Tue, 25 Jan 2000 09:50:25 +0300 |
Organization: | MTU-Intel ISP |
Lines: | 20 |
Message-ID: | <388D47B0.C9376B@gs707.com> |
References: | <Kp8j4.10661$MI4 DOT 113671 AT newscontent-01 DOT sprint DOT ca> |
NNTP-Posting-Host: | dial53145.mtu-net.ru |
Mime-Version: | 1.0 |
X-Trace: | gavrilo.mtu.ru 948783075 88242 195.34.53.145 (25 Jan 2000 06:51:15 GMT) |
X-Complaints-To: | usenet-abuse AT mtu DOT ru |
NNTP-Posting-Date: | 25 Jan 2000 06:51:15 GMT |
X-Mailer: | Mozilla 4.7 [en] (Win95; I) |
X-Accept-Language: | ru |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
In C++ you can use: ------------------- #include<string> //without ".h" .... string abc; //string starts with small letter. ------------------- Geoffrey Woo wrote: > I am new to djgpp, when i tried to use the function string,(typed > #include<string.h> at the beginning and then in the main function String > Name; ) it says the line " String Name; " ----] > > Error: 'String' undeclared (first use this function) > Error: (Each undeclared identifier is reported only once > Error : for each function it appears in.) > Error: parse error before';' > > please help me to get this to work. Thank you very much.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |