New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Learning C++ with Xcode


Post Reply New Thread Subscribe

 
Thread Tools
MacKid

 
Member Since: Sep 23, 2007
Posts: 64
MacKid is an unknown at this point
Mac Specs: MBP LED 15" SR 2.2GHz, 4GB RAM, 160GB HDD, NIVIDIA 8600M GT 128MB

MacKid is offline
I am new to programming and I've been told to start by learning C++. I want to use Xcode 3.0 which came with my copy of Leopard. So here's the deal, I want to use a book that clearly explains programming along with giving tutorials. I really want a book that is specifically for Xcode, because that's what I have. It also should be very basic, beginners guide. Does anyone know of a book like this that exists?
QUOTE Thanks
MacKid

 
Member Since: Sep 23, 2007
Posts: 64
MacKid is an unknown at this point
Mac Specs: MBP LED 15" SR 2.2GHz, 4GB RAM, 160GB HDD, NIVIDIA 8600M GT 128MB

MacKid is offline
64 views and not a single person knows of a good C++ book?
QUOTE Thanks
illusionist

 
Member Since: Sep 29, 2007
Posts: 121
illusionist is on a distinguished road

illusionist is offline
I don't know of a C++ book specific to Xcode. If you stick to standard C/C++, you'll be able to program in any compiler. The IDE is just a matter of learning where things are.
QUOTE Thanks
ScKaSx

 
Member Since: Oct 09, 2007
Posts: 5
ScKaSx is on a distinguished road

ScKaSx is offline
Hi Mackid,

It was my understanding that most people these days start programming in java which shares many qualities with C++ in terms of object oriented programming. And there is a great online tutorial of java with the 'Really Big Index' (http://java.sun.com/docs/books/tutor...ybigindex.html)

Downside is Xcode is not popular for java code, I personally use terminal but I only do basic stuff. I have never tried xcode with java but imagine it can be done. Anyways good luck.

Cheers,
ScKaSx
QUOTE Thanks
Aptmunich

 
Aptmunich's Avatar
 
Member Since: Mar 09, 2004
Location: Munich
Posts: 9,075
Aptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant future
Mac Specs: Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2

Aptmunich is offline
Isn't XCode really mainly meant for Objective-C coding?

Anyway - I'm just getting started with learning Java, but the concepts seem to be easily transferrable to other languages (well - I've also looked at Python & Ruby and it seems similar enough).

I mostly use Textmate for coding and building my little programs, but our course will be moving over to Eclipse soon.
QUOTE Thanks
MacKid

 
Member Since: Sep 23, 2007
Posts: 64
MacKid is an unknown at this point
Mac Specs: MBP LED 15" SR 2.2GHz, 4GB RAM, 160GB HDD, NIVIDIA 8600M GT 128MB

MacKid is offline
Thanks for the input everyone. I was looking around XCode and it seems really intense for a C++ compiler. Does anyone know of any free C++ compiler for Mac?
QUOTE Thanks
illusionist

 
Member Since: Sep 29, 2007
Posts: 121
illusionist is on a distinguished road

illusionist is offline
What do you mean by intense? Every compiler would have the std libraries for c/c++. Some compilers will add in extra compiler/environment specific libraries. Are you thinking that the editor is too intense? I haven't personally looked at how x-code looks. Is X-Code an IDE?

If you think the editor is too intense, you could always type it up in TextEdit and compile the code through command line.
QUOTE Thanks
MacKid

 
Member Since: Sep 23, 2007
Posts: 64
MacKid is an unknown at this point
Mac Specs: MBP LED 15" SR 2.2GHz, 4GB RAM, 160GB HDD, NIVIDIA 8600M GT 128MB

MacKid is offline
XCode seems to be a huge, powerful program that can do a lot more that c/c++. Forgive me of my ignorance illusionist, I have hardly any knowledge of programming. I'm no sure if XCode is an IDE. I have a good friend who programs using c/c++ and uses a PC, he downloaded XCode and said it's interface was confusing, and told me to look for something else. Maybe it's just because he uses a PC. Do you use XCode?
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
download Eclipse for java or c++ development

www.eclipse.org
QUOTE Thanks
macnoob

 
Member Since: Mar 06, 2007
Posts: 6
macnoob is on a distinguished road

macnoob is offline
I like netbeans for Java.
QUOTE Thanks
illusionist

 
Member Since: Sep 29, 2007
Posts: 121
illusionist is on a distinguished road

illusionist is offline
Quote:
Originally Posted by MacKid View Post
XCode seems to be a huge, powerful program that can do a lot more that c/c++. Forgive me of my ignorance illusionist, I have hardly any knowledge of programming. I'm no sure if XCode is an IDE. I have a good friend who programs using c/c++ and uses a PC, he downloaded XCode and said it's interface was confusing, and told me to look for something else. Maybe it's just because he uses a PC. Do you use XCode?
I haven't personally looked at XCode. I'll take a look at it when I have a chance.
QUOTE Thanks
karudzo

 
Member Since: May 27, 2006
Location: Concord, NC
Posts: 445
karudzo has a spectacular aura about
Mac Specs: Macbook Pro 17" 2.6GHz 4GB RAM

karudzo is offline
Netbeans is great for Java.
QUOTE Thanks
danielb
Guest
 
Posts: n/a

If you are just starting out and plan on doing some simple examples from some programming book, I would suggest using gcc.
QUOTE Thanks
scanchan

 
Member Since: Dec 11, 2007
Posts: 6
scanchan is an unknown at this point

scanchan is offline
I have learned startand C++, but I know nothing about XCode.
--------------------------------------------------------------
Xcode is Apple's premiere development environment for Mac OS X. In addition to being packaged on the DVD with every copy of Mac OS X, the latest Xcode developer release is always available for free to ADC members and includes all the tools you need to create, debug, and optimize your applications. At the heart of the Xcode tools package is the Xcode IDE, a graphical workbench that tightly integrates a professional text editor, a robust build system, a debugger, and the powerful GCC compiler capable of targeting Intel and PowerPC regardless of host platform. Xcode is both easy to use, and yet powerful enough to build the largest Mac OS X applications. The complete Mac OS X developer tools chain is distributed as part of Xcode; these tools include Interface Builder, Instruments, Dashcode, the WebObjects framework, and the complete reference documentation, to name just a few.
--------------------------------------------------------------
QUOTE Thanks
scanchan

 
Member Since: Dec 11, 2007
Posts: 6
scanchan is an unknown at this point

scanchan is offline
http://developer.apple.com/tools/xcode/
QUOTE Thanks

Post Reply New Thread Subscribe


« how to import an existing project into xcode 3? | Call a script from Obj-c (or Xcode/Cocoa) »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Xcode 1.5 alejandrico OS X - Development and Darwin 0 06-03-2006 05:56 PM
Features I miss from Visual Studio, now using xCode... RChickenMan OS X - Development and Darwin 0 10-18-2005 11:14 AM
XCode Include path problem Jove OS X - Development and Darwin 0 03-18-2005 09:41 AM
New Xcode plug-in helps developers reuse code Murlyn OS X - Development and Darwin 0 11-10-2003 12:16 PM
Xcode developer tools updated Murlyn OS X - Development and Darwin 0 11-04-2003 05:09 PM

All times are GMT -4. The time now is 10:24 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?