C Programming on the Mac L2 - Using Xcode

preview_player
Показать описание
In this tutorial we explore how to create a new project and begin to use Apple's Xcode IDE.
Рекомендации по теме
Комментарии
Автор

Brilliant! What you are doing is great!
I love the way you touch over every little thing as I am a beginner at all this.
Sound quality is perfect, so is video and best of all is the way you explain it all. I also love the way each lesson comes so frequently, like once a week. Good job, keep it up!

aliasgr
Автор

Fantastic videos. You should be very proud! It's people like you that make this world a better place.

JuliusHammond
Автор

Thanks so much for doing this... this was such a big help. Ever since i started writing programming assignments on my mac a few months ago, ive been using gcc straight from the console... and never knew how to set up a project properly in xcode so that i can debug easily, but now i do.

cbwavy
Автор

Thank you! Your tutorials are a good way to start learning C. Good luck

seccopower
Автор

thanks a lot, this video is really helpful and really good, i didnt know how to program in c using a mac, i couldnt find this kind of video in spanish, thank you so much,
hello from mexico!!

rolitas
Автор

I used to live there :D. Glad you're liking the tutorials.

AppleProgramming
Автор

@snoooters I can't remember if there was a way in Xcode 3, but in Xcode 4 you can change your console to only display only "Target output". It's located in the console window itself as a popup button.

AppleProgramming
Автор

This is a great tutorial. I been using VS for my c and c++ classes in college, but i want to get familiar with the mac os :). thanks!

wizdomiscool
Автор

@CurrtBenton94 Once you learn Objective-C then you can really move towards iOS. It does take some time if you can't devote all your time towards it, so gauging when you can learn that much is really on how much time you have. Looking up specific topics in Google is great and for OS X there is some great stuff at cocoadevcentral. As for my tutorials, the progression is from C to Objective-C to Cocoa or iOS whenever I have that. Thanks for watching.

AppleProgramming
Автор

@neji064hyuga Eclipse has the compiler built in, you just run your Java code inside Eclipse by hitting the "Run" button and it shows your code in its console.

AppleProgramming
Автор

There is a big play button in the top left of Xcode, just hit that. The console should appear automatically when you print something. If not, you go under View>Debug Area>Show Debug Area. Alternatively you can activate it in the toolbar where there are 3 icons in a row representing the left, bottom and right sides of Xcode.

AppleProgramming
Автор

@rolitas89 Glad you like them. More are being made so if you want to keep up-to-date you can subscribe to the channel. Thanks

AppleProgramming
Автор

@inditech96 Yes, they are all the same, it should run fine on either platform, and yes Xcode opens and runs .c files.

AppleProgramming
Автор

Great I just needed to know how to run the tool. This does the job.

travelguy
Автор

Well these C tutorials give you a nice base into programming. My Objective-C tutorials work of of these first few introductory ones and that's the language you want to get to know. Obj-C is what basically every Mac app out there uses, C++ is irrelevant in most cases.

AppleProgramming
Автор

Should still work fine in Mountain Lion. Just google Leopard Docks app and it's the first choice. They have tons of themes to choose from and the app they provide allows you to easily switch out the assets.

AppleProgramming
Автор

If by noodles bowl you mean coffee cup with an E on it. That's Espresso, it's for web development stuff which I never really work with.

AppleProgramming
Автор

Hi.

I am using Xcode 6 and I haven't been able to find the debugger console that you show in your tutuorial. When I pressed Shift Command R a message just comes up, "Build succeeded" but no consoles come up. I have even gone into View to change everything I could.

"No Debug Sesson" seems to come up a lot when I look around the program.


Build and Run are separate and I don't always know which to press.


An example is in Lesson 6 where you are putting in the addition of num1 and num2. You have a window on the side that shows hundred of words in the Debugger Console. I would like to have that window as well. Am I meant to see the answer to num1 + num2 ?


Thanks.

jazzmusicsongs
Автор

@mrsunofnorway It's possible you didn't install the UNIX development support, which I believe is required to use command line in Xcode. Just get your disk image for Xcode and try reinstalling with the option for UNIX checked on.

AppleProgramming
Автор

Hi! I'm on xcode 3.1.2, and can't figure out how to open the command line template..! It's not listed in the application-templates when I open xcode. What am I doing wrong? Or what can I do to open a proect with main.c ??? Oh.. and thanks a lot for all of this!


mrsunofnorway