Have K&R2, looking for simpler resource on pointers
Author |
Message |
Mach #1 / 7
|
 Have K&R2, looking for simpler resource on pointers
I took a class in C programming, but the one thing I still don't have a solid grasp on are pointers. Can anyone recommend me to a resource (book, online documentation, etc.) that explains pointers in more understandable way and that has more examples?
|
Sun, 21 Aug 2005 08:16:44 GMT |
|
 |
Mike Wahle #2 / 7
|
 Have K&R2, looking for simpler resource on pointers
Quote: > I took a class in C programming, but the one thing I still don't have a > solid grasp on are pointers. Can anyone recommend me to a resource > (book, online documentation, etc.) that explains pointers in more > understandable way and that has more examples?
http://pw1.netcom.com/~tjensen/ptr/pointers.htm -Mike
|
Sun, 21 Aug 2005 08:25:38 GMT |
|
 |
CBFalcone #3 / 7
|
 Have K&R2, looking for simpler resource on pointers
Quote:
> I took a class in C programming, but the one thing I still don't > have a solid grasp on are pointers. Can anyone recommend me to a > resource (book, online documentation, etc.) that explains pointers > in more understandable way and that has more examples?
Reread K&R, slowly. Don't skim. Do the examples. It is all there. --
Available for consulting/temporary embedded and systems. <http://cbfalconer.home.att.net> USE worldnet address!
|
Sun, 21 Aug 2005 11:55:42 GMT |
|
 |
Stig Brautase #4 / 7
|
 Have K&R2, looking for simpler resource on pointers
Quote:
> I took a class in C programming, but the one thing I still don't have a > solid grasp on are pointers. Can anyone recommend me to a resource > (book, online documentation, etc.) that explains pointers in more > understandable way and that has more examples?
Here's a link to an unconventional post on this newsgroup some time ago, explaining pointers: http://tinyurl.com/6vw8 Even if you don't learn much, at least you'll laugh a little :) Stig -- brautaset.org
|
Sun, 21 Aug 2005 16:16:43 GMT |
|
 |
Don Quixot #5 / 7
|
 Have K&R2, looking for simpler resource on pointers
Think of the register (or memory) as follows: WORD balance WORD address MOV balance, 100 MOV address, 200 MOV [address], 300 To the machine (computer), a register (or memory) stores something, that something can be the data you are looking for, or an address (treasure-hunt map) that leads you to the data. The 'address' in this case is a pointer that points to where (location 200) the data will be stored. The balance in this case, stores 100, but it also has a location, except we may not care where it is. When you think of it in assembly language sense, pointer should come easier.
Quote: > I took a class in C programming, but the one thing I still don't have a > solid grasp on are pointers. Can anyone recommend me to a resource > (book, online documentation, etc.) that explains pointers in more > understandable way and that has more examples?
|
Sun, 21 Aug 2005 16:37:04 GMT |
|
 |
David Rubi #6 / 7
|
 Have K&R2, looking for simpler resource on pointers
Quote:
> > I took a class in C programming, but the one thing I still don't have a > > solid grasp on are pointers. Can anyone recommend me to a resource > > (book, online documentation, etc.) that explains pointers in more > > understandable way and that has more examples? > Here's a link to an unconventional post on this newsgroup some time ago, > explaining pointers: > http://tinyurl.com/6vw8 > Even if you don't learn much, at least you'll laugh a little :)
Haven't seen Pony around here. I guess Pony graduated and got that job with the government... david :-) -- fortran was the language of choice for the same reason that three-legged races are popular. -- Ken Thompson, "Reflections on Trusting Trust"
|
Sun, 21 Aug 2005 22:05:03 GMT |
|
 |
vis #7 / 7
|
 Have K&R2, looking for simpler resource on pointers
Quote:
> I took a class in C programming, but the one thing I still don't have a > solid grasp on are pointers. Can anyone recommend me to a resource > (book, online documentation, etc.) that explains pointers in more > understandable way and that has more examples?
There's "Understanding Pointers in C" by Yashwant Kanetkar. Great book. -vish
|
Mon, 22 Aug 2005 04:15:53 GMT |
|
|
|