home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / programm / 5221 < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.5 KB  |  45 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!news
  3. From: samurai@uriel.cs.mcgill.ca (Darcy Brockbank)
  4. Subject: Stupid Answer. (Re: Stupid question:  What does ** mean?)
  5. Message-ID: <1992Jul24.154043.9535@cs.mcgill.ca>
  6. Sender: news@cs.mcgill.ca (Netnews Administrator)
  7. Organization: SOCS, McGill University, Montreal, Canada
  8. References: <1992Jul23.135419.7435@cs.mcgill.ca>
  9. Date: Fri, 24 Jul 1992 15:40:43 GMT
  10. Lines: 33
  11.  
  12. In article <1992Jul23.135419.7435@cs.mcgill.ca> samurai@uriel.cs.mcgill.ca  
  13. (Darcy Brockbank) writes:
  14. > In article <1992Jul22.225838.13892@vlsisj.uucp> smadsen@leland.Stanford.EDU  
  15. > (Steve Madsen) writes:
  16. > > Here's an easy one. . .I'm stumped by the double asterisk declaration, for  
  17. > example:
  18. > > 
  19. > > (int **)
  20. > > 
  21. > > I've tried to locate it in Chapter 3, 6 and 7 of NextStep Concepts, as well  
  22. > as two
  23. > > different C manuals, so it's not a pure RTFM question (I hope). . .
  24. > > 
  25. > > Thanks!!
  26. > > 
  27. > > Steve Madsen 
  28. > It's called a pointer-pointer, or a double pointer. Look out for
  29. > these guys as well: triple pointers!
  30.  
  31.  
  32. > So i[][] implies that i is a pointer-pointer to an int. A &i is a 
  33.  
  34. This is not correct!!!!! Sorry!!!
  35.  
  36. - db
  37.  
  38. --
  39. -------
  40. I always thought that NeXTStep was very good in its approach to color since
  41. the tasteless are protected from their own stupidity. -- Jason Breckenridge
  42. (I know Jason, Jason is a close personal friend of mine, and I am not Jason!)
  43.