Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.c Subject: Re: # to the nth power Message-ID: <4188@goanna.cs.rmit.oz.au> Date: 2 Nov 90 08:19:18 GMT References: <90305.005050CJH101@psuvm.psu.edu> Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 11 In article <90305.005050CJH101@psuvm.psu.edu>, CJH101@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.