On Tue, 5 Jul 2011, Geoff Waaler wrote:

I am getting started with C++ using XCode 4.0.2.

You may well do better on a general programming list rather than this one.

For what it's worth, I copied your code verbatim and compiled and ran it under Linux, and it worked exactly as expected (i.e. not as it ran for you).

We don't have XCode for our mac so I couldn't try it there. I did try it on a 64-bit VPS I have access to in case it was a 64-bit issue, but again it worked fine.

I'd be interested to know what caused your issue if you ever manage to solve it.

Geoff.

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to