Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > xcode && c++;

xcode && c++;
Thread Tools
Forum Regular
Join Date: Nov 2006
Location: jerseyyy
Status: Offline
Reply With Quote
Nov 3, 2006, 10:32 AM
 
im taking a computer science course in and stick out like a sore thumb using my mac and xcode to code its great.!. im newto the to xcode enviorment as well as the C++ languages, anyone have any tips on learning, both or one or the other. books, links, ebooks....anything? im really getting behind in C++ and the xcode enviorment -- i have to learn how to do what the professor is doing in visual studio 2005
     
Fresh-Faced Recruit
Join Date: Aug 2005
Status: Offline
Reply With Quote
Nov 3, 2006, 12:53 PM
 
If you're writing standard C++ programs in your course, you can use Xcode with no problems. Create a C++ Tool project. I have an article on my book's site that walks you through the creation of a C++ command-line program with Xcode.

If your professor is covering Windows specific topics like creating GUIs, you're not going to be able to use Xcode.
Mark Szymczyk
Author, Xcode Tools Sensei
http://www.meandmark.com
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 3, 2006, 01:03 PM
 
The language itself should be the same in both environments. Can you explain exactly what sort of things are causing you problems?
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Forum Regular
Join Date: Sep 2003
Location: San Diego
Status: Offline
Reply With Quote
Nov 5, 2006, 12:56 PM
 
if this is a beginners intro to C++ class, then you should be able to do everything in XCode. However, the more complex the class, the more likely it is that you'll run into some of the small differences between the MSVC. If the professor requires programs to be compiled on Visual Studio, I'd strongly recommend doing all of your development on XCode, then do a simple sanity test on the Visual Studio before handing stuff in!
     
Fresh-Faced Recruit
Join Date: May 2003
Status: Offline
Reply With Quote
Nov 9, 2006, 04:47 PM
 
VC++ is quite different than Standard C++. I would recommend using a simple text editor and gcc from the command line.
I am now going to tell the computer what he can do with a life-times supply of chocolate.
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Nov 9, 2006, 05:26 PM
 
That doesn't change anything from using Xcode, since Xcode just uses GCC to compile.
     
Fresh-Faced Recruit
Join Date: May 2003
Status: Offline
Reply With Quote
Nov 9, 2006, 06:29 PM
 
using xcode is a lesson on and above C++, if your goal is simply to learn C++ and not the xcode IDE, I would use a simple text editor and gcc on the command line. This will limit the complications with having to learn a new and different IDE from VS and learning C++ at the same time. Both are daunting tasks for someone just starting. Sorry if I wasn't clear in my first post.
I am now going to tell the computer what he can do with a life-times supply of chocolate.
     
Fresh-Faced Recruit
Join Date: May 2003
Status: Offline
Reply With Quote
Jan 26, 2007, 10:02 AM
 
Apparently there is an open source C++ wrapper for Carbon called nano it has a BSD license. Looks pretty interesting and uses xcode.
I am now going to tell the computer what he can do with a life-times supply of chocolate.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:40 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2