# to the nth power

Richard A. O'Keefe ok at goanna.cs.rmit.oz.au
Fri Nov 2 19:19:18 AEST 1990


In article <90305.005050CJH101 at psuvm.psu.edu>, CJH101 at psuvm.psu.edu (Carl J. Hixon) writes:
> Why am I unable to find an opperator which  raises a number to a power.
Because you're looking for an operator.  Look for a function.
Specifically, look for pow().  In case you're wondering, look in the
manual for your C compiler, in the index under "pow" or "math", or look
in a C textbook.  On a UNIX system, the command "man 3 intro" may help.
On a VMS system, HELP will get you there eventually.

-- 
The problem about real life is that moving one's knight to QB3
may always be replied to with a lob across the net.  --Alasdair Macintyre.



More information about the Comp.lang.c mailing list