C++ Win32 Console Tutorial 3 - Printing Math



Simple math example calculations and functions are used within this tutorial.

Calculations and Functions
Addition +
Subtraction -
Multiplication *
Division /
Order of Operations (Please Excuse My Dear Aunt Sally - PEMDAS)
Power Function: pow()
Square Root Function: sqrt()

The power function requires a double floating-point number to be used. For example, 10 must be used as 10.0. The same goes for the square root function.

Code Download
CPPW32T3.zip