home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / c / 12772 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.0 KB

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