Is there a command or operator in C that does 'to the power of' basically the '^' sign in maths speak.
Is there a command or operator in C that does 'to the power of' basically the '^' sign in maths speak.
There's pow.
just a cool tidbit sqrt can also be done with pow x^1/2 power is the square root and so on and so forth.
You rant and rave about it, but at the end of the day, it doesn't matter if people use it as long as you don't see.
People are free to read the arguments, but if the only way for you to discover gravity is by jumping off a cliff, then that is what you're going to have to experience for yourself.
Eventually, this "fast and loose" approach of yours will bite you one too many times, then you'll figure out the correct way to do things. - Salem