C++.NET In Xcode

I am currently in an intro to programming class and we are learning C++.NET

We are currently creating basic console applications in Visual Studio. My question to you guys is can I create my C++.NET console applications in Xcode? If so, is it possible to do so without changing the programs syntax? If I am copying code out of my book I would like to be able to put it into Xcode exactly as it is in the book. Is this possible or will I have to make changes to the code to get it to work (does it even matter?).

Thanks ahead of time! 🙂

White MacBook, Mac OS X (10.4.8)

Posted on Feb 13, 2007 3:52 PM

Reply
1 reply

Feb 13, 2007 7:23 PM in response to Phatlip12

First some links, then some serious caveats.

A tutorial for using Monot and CSharp in Xcode
The Mono for OSX page

Now for some questions for you. Are you really learning C++.NET or C#? I was quite impressed with C++.NET. It seemed as if I could finally give up MFC for good. However, it doesn't seem to be the preferred solution. It seems that Microsoft would much prefer you to use C# and most of the Windows buzz these days is with C#. I am quite surprised that anyone would be teaching C++.NET because it just isn't that popular. Or, at least, I think it is pretty cool, so that should be a warning sign:)

In any event, the C++.NET architecture is neither C#, Mono, or C++ - it is an all new beast. It does use the .NET runtime underneath it all, but I don't think there is a C++.NET compiler for Mono on the Mac. In theory, you could write a pure .NET application using C++.NET on Visual Studio and run it directly on a Mac using Mono. But I don't think that is the way you want to go.

I sincerely doubt you will get it running in Xcode. For this one, you might need to take advantage of that "other" capability of your White Macbook and run Visual Sudio through Parallels (my favorite) or BootCamp.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

C++.NET In Xcode

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.