views:

422

answers:

6

Although I think that I've got that now (the light bulb is pretty bright now but still flickering a little bit), I'd like to read more stuff about pointers, variables, references, memory addresses, etc. Just the whole thing, i.e. what I have to understand when hearing thre term "reference" (think it's just a pointer, not sure).

So let us know your sources! Great articles, books, PDF's, videos, whatever. Anything is appreciated.

Thanks!

+2  A: 

Help yourself with a book. A good one is "The Objective-C Programming Language" from Apple. It is well written and free:

Also, see:

  • "Programming in Objective-C" by Stephen Kochan
  • "Learning Cocoa with Objective-C" by James Duncan

As for C and C++ resources: these have been discussed before on SO -- try searching the site.

dirkgently
+1  A: 

What I found the most confusing is the difference between an array and a pointer in C. Here's the C FAQ which finally explained that to me.

Read here the whole FAQ about pointers and arrays.

Elazar Leibovich
+4  A: 

Pointers, References, and Arrays in C++ has a wonderful explanation of the basics.

Evan Teran
Yep, that's a good one!
Thanks
+1  A: 

i always liked this one:

http://cplusplus.com/doc/tutorial/

and of course this faq

http://www.parashift.com/c++-faq-lite/

clamp
+2  A: 

about pointer:

Pointers on C by Kenneth Reek

plan9assembler
that book isn't specifically about pointers, but is about the C language. The title is a pun. However, it is a great book :-).
I was going to recommend this book if only for the fact that the author used to be an integral member of my schools CS department. I often use header files with his name on them. ;)
TURBOxSPOOL
"used to be an integral member of my schools CS department." It must really suck to have CS departments with fractional members ;-)
Jonas Kölker
A: 

I'm studying engineering and we had this little crash course in C and went through this book called "How to program C" by Deitel. It covers all the basics and has a few code samples in it.

However; Pointers can be tricky to get, especially from only reading about them. I strongly recommend this lecture by Richard Buckland about pointers.

Then of course, just start experimenting. It is the best way to learn this subject.

Andrioid