I am making a program for my programming class and I dont know how to get log base 4. can anyone help me?
I am making a program for my programming class and I dont know how to get log base 4. can anyone help me?
#include <math.h> and use log() or log10() with a little mathematics.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
How to change base: Logarithm - Wikipedia, the free encyclopedia
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens