From: Alexey Zakhlestine 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: NNTP-Posting-Host: dial53145.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 //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 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.