home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / std / cplus / 1180 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1016 b 

  1. Xref: sparky comp.std.c++:1180 comp.lang.c++:13663
  2. Newsgroups: comp.std.c++,comp.lang.c++
  3. Path: sparky!uunet!mcsun!news.funet.fi!cc.tut.fi!jk87377
  4. From: jk87377@cc.tut.fi (Juhana Kouhia)
  5. Subject: Re: Exponentiation operator proposal
  6. Message-ID: <1992Sep15.054226.4126@cc.tut.fi>
  7. Organization: Tampere University of Technology
  8. References: <23660@alice.att.com> <HBF.92Sep14205333@durin.uio.no>
  9. Date: Tue, 15 Sep 92 05:42:26 GMT
  10. Lines: 17
  11.  
  12.  
  13. Hi,
  14.  
  15. I'm very new in C++ world; I have not done any programs so far;
  16. and I'm currently reading C++ Primer books on chapter 3   :-)
  17.  
  18. Instead of making exponential operator; I would like to get
  19. a new basic operation which allows programmer to define new
  20. operations like 'a ** b'; that is, the '**' is defined.
  21. ('a pow b' is also good.)
  22.  
  23. The operation '**' may hide freely some other operations;
  24. like, maybe, 'c ** **p' which should be written 'c ** (**p)'
  25. (maybe poor example; I write always clearly anyway and don't
  26. study those ****a*******b**** hacker tricks).
  27.  
  28.  
  29. Juhana Kouhia
  30.