Message-ID: <002401bfbdd7$2054a620$650f3acb@default> From: "Alastair Hogge" To: "DJGPP" Subject: string wuh; Date: Mon, 15 May 2000 05:03:42 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0021_01BFBE2A.F10E18C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0021_01BFBE2A.F10E18C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My code: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #include int main(void) { string foo; return 0; } My compiler messages: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 ------=_NextPart_000_0021_01BFBE2A.F10E18C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
My code:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
#include <string.h>
 
int main(void)
{
    string=20 foo;
 
    return 0;
}
 
My compiler messages:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
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

 
------=_NextPart_000_0021_01BFBE2A.F10E18C0--