Where are the best explanations of variables, pointers, references, and memory addresses on the network?

Although I think I have it now (the bulb is quite bright, but still a little flickering), I would like to read more information about pointers, variables, links, memory addresses, etc. Just everything I have to understand when I hear this term β€œlink” (think it's just a pointer, not sure).

So let us know your sources! Great articles, books, PDFs, videos, whatever. Everything is appreciated.

Thanks!

+4
source share
7 answers

C ++ pointers, references, and arrays has a wonderful explanation of the basics.

+5
source

Help yourself with the book. A good one is Apple's "Objective-C Programming Language" . It is well written and free:

Also see:

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

As for the resources of C and C ++: they were discussed earlier on SO - try performing a search on the site.

+2
source

What I found most confusing is the difference between an array and a pointer in C. Here is the C FAQ , which finally explained what I am.

Read the entire FAQ on pointers and arrays here.

+2
source
+2
source

About the pointer:

Pointers to C from Kenneth Reek

+2
source

I am learning technology and we had this little circular course in C, and I read this book called "How to Program C" from Deitel. It covers all the basics and contains some code examples.

Nonetheless; Pointers can be complex, especially because they only read about them. I highly recommend this Richard Buckland lecture on pointers .

Then, of course, just start experimenting. This is the best way to learn this topic.

+1
source

This should be the most articulated and awesome signpost tutorial and link I've ever come across.

http://cslibrary.stanford.edu/

It does not imply any preconditions, and it slowly builds from the basics to the most advanced topics and has a lot of code and selection problems.

Thanks to Nick Parlanta for this amazing resource.

Many other useful resources are available at http://www-cs-faculty.stanford.edu/~nick/

+1
source

All Articles