home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!wupost!rice!nb.rockwell.com!wade
- From: wade@nb.rockwell.com (Wade Guthrie)
- Newsgroups: comp.lang.c
- Subject: Re: Most difficult part of learning C?
- Message-ID: <1992Aug25.190304.5383@nb.rockwell.com>
- Date: 25 Aug 92 19:03:04 GMT
- References: <9208251159.AA04122@ult4>
- Sender: wade@nb.rockwell.com (Wade Guthrie)
- Organization: Rockwell International
- Lines: 15
-
-
- Without a doubt, *understanding* pointers. No, I mean R E A L L Y understanding them.
- I got the point about them containing addresses and all, but when one combines that
- with the data types to which they point so that one can sort out things like:
-
- a = (char *(*foo)(int *(*bar)[], float **bletch)) b;
-
- (I know that this is pretty sick :->) But this takes some time.
-
- Ugly stuff aside, I think I started to understand pointers the first time I looked
- at a scanf statement and realized what it was trying to do. (And I think I started
- to have a pretty good feel for C when I stopped using 'scanf').
-
- Wade
- wade@nb.rockwell.com
-