Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Xcode "How To" books, are there any?

I am running El Capitan on my iMac, and wish to get back into doing some C language coding. I have upgraded to the new Xcode, but cannot find any books, manuals or online instructions on how to use the tool. All I want to do is play around with C. I am not writing for commercial markets, only my own enjoyment. The instructions in the old Beginning Mac OS X Programming book and the Learn C on the Mac book no longer apply to the current version of Xcode.


If there isn't a way to get back to basic C, is there a BASIC compiler around I can use?

iMac, OS X El Capitan (10.11.4)

Posted on May 4, 2016 11:43 AM

Reply
Question marked as Best reply

Posted on May 4, 2016 6:00 PM

Just start XCode, Select "Create a new XCode Project", Select an "OSX - Application, and click on the command line tool icon


Give it a name, and I use com.me as the identifier and select "C" for the language.


Select a place to put the folder, and on the next screen click on the main.c to the right.

Click the triangle at the top and the hello, world stub will compile and run.

5 replies
Question marked as Best reply

May 4, 2016 6:00 PM in response to Banjo Brad

Just start XCode, Select "Create a new XCode Project", Select an "OSX - Application, and click on the command line tool icon


Give it a name, and I use com.me as the identifier and select "C" for the language.


Select a place to put the folder, and on the next screen click on the main.c to the right.

Click the triangle at the top and the hello, world stub will compile and run.

May 4, 2016 6:04 PM in response to Keith Barkley

Man, it was much simpler when things worked the old way. I'll have to see if the old methods still work


Thanks for the rapid response,Keith, now maybe I can get a hi/lo temp record going and a couple of other simple programs that I want to mess with.


I think my main problems are that I learned to code back in the 70's on CP/M, then DOS. Used QBASIC, then PL/I, and finally got around to trying C, just as I got involved with life. I still miss CP/.M and DOS and command line driven system.

May 8, 2016 3:09 PM in response to Keith Barkley

Yes, I like xCode, my problem was the change in format with all of the lead-in. I have no real use for the "identifier" garbage since I will not be doing anything that will need it. Compared to what the old Apress Learn C on the Mac look to xCode, this new interface needs some getting used to.


Thanks to both of you for the input, it has been helpful - now to find time to get back into the fun part of computers!

Xcode "How To" books, are there any?

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