Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

furycd001

macrumors member
Original poster
Mar 9, 2011
65
0
Belfast
Hey

Can anyone here point me in a good direction for learning how to use Xcode & interface builder to start programming in c/++ :? For most of my life I have been living in the .net world inside visual studio, but would like to venture out into programming on my MacBook...

...I have downloaded demo c++ files for creating a basic rss reader & would like pointers on how I can edit/use these with Xcode & interface builder :?



[ YER HELP APPRECHIATED GREATLY ]
 
IDK about having a GUI in C++, but for making a terminal C++ program in Xcode you should start a new project, choose Command Line Tool from the Mac OS X application templates, and then for the Type (on the next page,) choose C++.

Also, unless you have some specific reason to use C++ (IE, you're taking a class that requires it, or you'd like to ensure cross compatibility with Windows,) then I suggest learning Obj-C instead. It'll be more useful in Mac and iOS programming (and maybe Linux too? I'm not sure about that...)
 
Thanks for replying :)

Basically when someone in the office overheard me talking about venturing away from .net, they where the one that recommended c++. I may though take a look into obj-c if thats gona be more beneficial or useful...

...As for having an IDE on my windows mechine most of the apps I use I have basically created myself using .net with visual studio. I am looking to do the exact same on my MacBook, but I have no experience in using Xcode or interface builder...


As pointed out in my original first post I have uncompiled files for a basic rss reader. How can I edit these files in Xcode & then possibly link them to an interface created using interface builder :?
 
Interface Builder generates Obj-C code. You cannot use IB to build a "c++ user interface"...
 
Ok, ok...

...Sooo these demo rss reader tutorial files I have downloaded. How can I compile them & edit there interface :?

+plus is there any good tutorials on learning how to use interface builder :? I have a good few apps on my windows mechine that I would like to soon start porting to my MacBook...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.