# to the nth power

Carl J. Hixon CJH101 at psuvm.psu.edu
Thu Nov 1 16:50:50 AEST 1990


I appologize for bothering you computer wizards with such an elementary
question but, I'm floundering.  Why am I unable to find an opperator which
raises a number to a power. (The fortran equivalent of x**n)  Is there such
an opporator or do I need to write my own function?  It seems like a terrible
oversite to me that such a common operation was overlooked.

Any help would be greatly appreciated!  I'm not sure I could even write the
function, I'm currently writing my first C program ever...

Thankyou,

Carl



More information about the Comp.lang.c mailing list