C Programming on the Mac L16 - Arrays

preview_player
Показать описание
In this tutorial I introduce arrays in C, it's just a nice way to understand the basic concepts.
Рекомендации по теме
Комментарии
Автор

nice tutorial dude. Hope you start uploading c++ tutorial videos soon.

wizdomiscool
Автор

Just finished the L16 & the test for L1-14. Great lessons. The only thing I would add would be a few practice suggestions/homework problems for each Lesson. I took some introductory classes in computer science, but I don't have a lot of time to investigate further through traditional classes as it would compete with other scheduling demands. These should work out great!

MdicinePYT
Автор

The issue is with getchar() since it only grabs 1 character. I talk about reading strings later on in the series.

AppleProgramming
Автор

Thank you for great tutorials. Could you update the link to the "Lessons 1-14 Test". The link to DropBox seems to be broken.

Thanks!

AndersMatre
Автор

@wizdomiscool C++ isn't in the plans, but Objective-C and Cocoa are. Mostly because I am working towards the Apple platform a bit more.

AppleProgramming
Автор

About 20 are good, sometimes I'll make specific reference to some though so you can always come back if you see something that wasn't explained already.

AppleProgramming
Автор

Is there anywhere we can find more examples similar to that of your Lesson 1-14 Test? I'd prefer your content, but anything similar is appreciated. Your lessons are great.

bigbaldlloyd
Автор

Just a quick note on the test. Question 5 is missing the final curly brace but that isn't apparently what you're looking for there...

ggoodreau
Автор

@deepak10066 I'm not sure why you would get incorrect output. It should work the same every time.

AppleProgramming
Автор

Did we even have a for loop in this tutorial?

AppleProgramming
Автор

@ggoodreau Thanks for noticing that, I'll make the change.

AppleProgramming
Автор

what is you want to make an array of characters that a user could input like a name

rkak
Автор

sometimes the correct output does't come, although everythying is right.If i create a new file and type the program again, it will work properly.Any reason?

deepak
Автор

not related, but how do you change xcode to compile with c99? i can compile it in gcc but not xcode...

ckalas
Автор

Ah, objective C! My friend is a iphone dev and is trying to force to me to learn it lol. can't wait :)

btw: do you know where can i download a iphone SDK for Mac OS 10.5.8? i only have xcode :(

wizdomiscool
Автор

Hi, first of all thanks for your tutorial.
I am getting error for the following code:

myval[i]=Value(i, &sum);

I am calling a function assign different values to myval[i] for 20 integers.

i am getting the following error

Assigning to "int" from incompatible type "void".


am i doing something wrong?

pravesh
Автор

It probably means that value isn't returning anything and you're trying to assign it to myVal[i].

AppleProgramming
Автор

@wizdomiscool Just go to the Apple Developer site (developer.apple. com) and then go to the iPhone dev center and there is a spot to download it there. Whether they still support 10.5.8, I don't know. But you can download it and find out.

AppleProgramming
Автор

in obj c can you add objects in c arrays?

b
Автор

Hi, I've just been doing the test and #2 of your test it says while loop however your answer has a for loop. not an issue just thought I should let you know, great videos :)

thDoctorLove