Possible Duplicate:
What are the barriers to understanding pointers and what can be done to overcome them?
Was just wondering if anyone could "point me" to a good tutorial on pointers
Would be very greatful
Thanks
Possible Duplicate:
What are the barriers to understanding pointers and what can be done to overcome them?
Was just wondering if anyone could "point me" to a good tutorial on pointers
Would be very greatful
Thanks
Well, http://pweb.netcom.com/~tjensen/ptr/cpoint.htm seems quite reasonable.
This post http://stackoverflow.com/questions/5727/what-are-the-barriers-to-understanding-pointers-and-what-can-be-done-to-overcome has a great explanation of how pointers work.
The best start is Kerrigan and Richie book of "Programming in C".
I like C for smarties a lot. It deals with many of the issues people face with pointers, is written by someone who knows C very well, and to paraphrase Einstein, doesn't simplify things more than they need to be. In particular, you should read "Are pointers numbers?", and "More on arrays and pointers" from the website.
Also, see comp.lang.c
FAQ, sections 4, 5, 6, and 7.
While not related only to pointers, Defensive Programming is something that should definitely read up on and practice.It greatly reduces the number of mistakes that a programmer can mak
Here's a couple of nice links:
Read The C Programming Language by Brian Kernighan and Dennis Ritchie; it is excellent.