On Thu, 2 Oct 2003, Condon Thomas A KPWA wrote:

> 
> > I have a project I've been working on in RedHat 7.3, and it's 
> > just fine.  I just tried migrating it to RedHat 9.0, and for 
> > some reason the g++ that's installed there does not know 
> > about the "string" class.  Statements like 
> >      string s1 = "foo";
> > report a syntax error before "=".
> 
> I haven't dealt with RedHat compilers, but shouldn't that be:
> 
>      String s1 = "foo";
> 
> Or perhaps I'm thinking of Java.

Right, that's Java.  The lowercase syntax is C++, and is working
on the RedHat 7.3 system.

++ kevin

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to