home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 15884 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.2 KB  |  44 lines

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!gmd.de!Germany.EU.net!mcsun!news.forth.gr!news.forth.gr!kilitzir
  2. From: kilitzir@antigone.csi.forth.gr (Xristos Kilitzirakis)
  3. Newsgroups: comp.lang.c++
  4. Subject: References in GNU question
  5. Date: 6 Nov 1992 18:42:45 +0200
  6. Organization: Institute of Computer Science, FORTH Hellas
  7. Lines: 31
  8. Message-ID: <kilitzir.721067537@news.forth.gr>
  9. NNTP-Posting-Host: antigone.csi.forth.gr
  10. Summary: references in GNU
  11. Keywords: references,GNU,question
  12.  
  13. Boys,
  14. I'm newly born in oop world , so these are my "why" questions:
  15. 1.Reference pointers
  16.   suppose the following:
  17.      class dd{
  18.        char **p;
  19.      public :
  20.        friend z();
  21.      };
  22.      friendz()
  23.      {
  24.          ..
  25.          dd ddd;
  26.          char ** &p = ddd.p;
  27.          ...
  28.      }
  29. I got an error in GNU ,saying:
  30. : type mismatch in initialization of `p' (use `const').
  31.   well, I don't know where to pu const !
  32. Is there an error? 
  33. 2.Someone has put here the gnu c++ without putting the manual in man.
  34.  Do you know where I can ftp the manual ?
  35.  (for Sun's).
  36.  
  37.  
  38. Thanks in advance.
  39.  
  40.  
  41. I've got to change my panties,now -please e-mail them in
  42. kilitzir@csi.forth.gr
  43. kilitzir@csd.uch.gr
  44.