Simple math in C++: Difference between revisions

wikademia>Remi0o
mNo edit summary
wikademia>Cybiko123
mNo edit summary
Line 1: Line 1:
== Simple C++ Math ==
== Simple C++ Math ==


Here we are in our third lesson! Finally time to get C++ working for us. Computers are meant for math, and that's what we're going to do here. So, first things first. Lets add the math libraries to our C++ project. That way we have the ability to do useful math functions such as powers, square roots and the like.
So, first things first. Lets add the math libraries to our C++ project. That way we have the ability to do useful math functions such as powers, square roots and the like.


<code><pre>
<code><pre>