C++ Math

Similar Posts

  • The Vector Class

    Using arrays to store a collection of variables, even objects, if very beneficial. However, it does have some limitations given that arrays are of a fixed size, and cannot shrink or grow with use. This means you either run out of space after a set of time, or you waste a lot of space as…

  • Overloading a Function

    Overloading a function means that you can create different functions with the same name, as long as their signatures are different. That means that the parameter list must be of a different number and/or data types from one to another. Overloading functions can make reading code much clearer/easier. This way functions that perform the same…

  • Math in Go

    Performing Math in Go is like many other programing languages in many ways. Of course, the standard mathematical symbols apply: Operator Description + Addition – Subtraction * Multiplication / Quotient % Remainder & Bitwise AND | Bitwise OR ^ Bitwise XOR &^ Bit clear (AND NOT) << Left shift >> Right shift (logical) The Math…