I think I might be having trouble understanding variable initialization again, but thanks for the help. Also, if there is an operator for raising to powers, not scientific notation, I would appreciate hearing about it since I can't seem to find it in the index
sohel08
0
Newbie Poster
Recommended Answers
Jump to PostUse double pow(double,double) function from <math.h> (<cmath> in modern C++) header.
double x = 2.0; double y = 2.0; double four = pow(x,y);
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.