[antlr-interest] Translating from Java to C++

Anthony Youngman Anthony.Youngman at ECA-International.com
Tue Jul 13 03:43:17 PDT 2004


Thanks.

I know the "forget C" advice ... But I'm looking at all this sample
stuff in the book and it doesn't even LOOK like C :-)

Now to try and understand your example in depth - I think I've got it
enough to just copy it into the code ...

Cheers,
Wol

-----Original Message-----
From: Ric Klaren [mailto:klaren at cs.utwente.nl] 
Sent: 13 July 2004 11:18
To: antlr-interest at yahoogroups.com
Subject: Re: [antlr-interest] Translating from Java to C++

On Tue, Jul 13, 2004 at 10:19:14AM +0100, Anthony Youngman wrote:
> It doesn't help that I'm using this to learn C++ ... :-) (although I
am
> a good C programmer).

Best advice try to forget C for starters ;)

> g++ doesn't like the $getText.toUpperCase() stuff. I've found
toupper()
> but it appears to actually change its argument - which I don't want to
> do. How do I do that? And are there any decent websites discussing the
> standard libraries? I've got the Stroustrup C++ book :-)



****************************************************************************

This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333.

****************************************************************************



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list