From: "Paulo J. Matos aka PDestroy" Newsgroups: comp.os.msdos.djgpp Subject: Re: string in djgpp Date: Tue, 14 Nov 2000 11:23:03 -0000 Lines: 26 Message-ID: <8ur7d1$8ue$1@venus.telepac.pt> References: <8ur14k$q7g$1 AT dahlia DOT singnet DOT com DOT sg> NNTP-Posting-Host: 212.113.181.165 X-Trace: venus.telepac.pt 974201057 9166 212.113.181.165 (14 Nov 2000 11:24:17 GMT) X-Complaints-To: abuse AT mail DOT telepac DOT pt NNTP-Posting-Date: 14 Nov 2000 11:24:17 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com You can only declare (explicitly) a string in C++. There's no such thing as string in C. For C a string is char*. An array of chars with '\0' as the last char. Anyway I'm sure that guys from comp.lang.c will be able to explain it better than I am. Another thing, if you program in C, K&R is extremely useful... Best regards, -- Paulo J. Matos aka PDestroy http://www.pdestroy.net ICQ UIN - 361853 -- If you think you can, you can. And if you think you can't, you're right. - Ash, Mary K. "Tancy" wrote in message news:8ur14k$q7g$1 AT dahlia DOT singnet DOT com DOT sg... > I cant declare a string even if i included in my code, how should > i do? > >