power in Power

What does the ^ operator? I thought that it was the powering operator, but
when I got 3^2=1 instead of 9... OK, I know there is pow function somewhere,
but anyway...

Saso



0 Saso 9/5/1998 1:56:35 PM
On Sat, 5 Sep 1998 15:56:35 +0200, "Saso Zivanovic"
 wrote:

>What does the ^ operator? I thought that it was the powering operator, but
>when I got 3^2=1 instead of 9... OK, I know there is pow function somewhere,
>but anyway...
>
>Saso
>
>
Hi, Saso

The '^' operator is bitwise exclusive or. Although you can do some
things with Power++ with no pre-knowledge of C or C++, you'll soon
find that you need at least the basics. I'd suggest something like
Stan Lippman's "C++ Primer", or, if you like your information more
concentrated, Stroupstrop's "The C++ Programming Language."

-- 
Al Balmer
Balmer Software Consulting
Team Powersoft

Please reply in newsgroup, not e-mail.
0 albalmer 9/6/1998 1:46:13 AM
Reply:

(Thread closed)