🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #166

Re: Exponentiation operator proposal

#166
From: Juhana Kouhia
Date: Tue, 15 Sep 1992 05:42
18 lines
993 bytes
Hi,

I'm very new in C++ world; I have not done any programs so far;
and I'm currently reading C++ Primer books on chapter 3   :-)

Instead of making exponential operator; I would like to get
a new basic operation which allows programmer to define new
operations like 'a ** b'; that is, the '**' is defined.
('a pow b' is also good.)

The operation '**' may hide freely some other operations;
like, maybe, 'c ** **p' which should be written 'c ** (**p)'
(maybe poor example; I write always clearly anyway and don't
study those ****a*******b**** hacker tricks).


Juhana Kouhia
Technical Details
Message-ID: <1992Sep15.054226.4126@cc.tut.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!cc.tut.fi!jk87377
References: <23660@alice.att.com> <HBF.92Sep14205333@durin.uio.no>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++,comp.lang.c++
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!cc.tut.fi!jk87377
From: jk87377@cc.tut.fi (Juhana Kouhia)
Subject: Re: Exponentiation operator proposal
Message-ID: <1992Sep15.054226.4126@cc.tut.fi>
Organization: Tampere University of Technology
References: <23660@alice.att.com> <HBF.92Sep14205333@durin.uio.no>
Date: Tue, 15 Sep 92 05:42:26 GMT
Lines: 17