Training course - Pasja Informatyki, C++ course, episode 17 ( Link )
Using cmath
and pow()
, sqrt()
, cbrt()
functions for square root, cube root or nth root. Calculating Pythagorean theorem (distance between objects).
- C++
- CodeBlocks (IDE)
- GNU GCC Compiler (minGW)