Skip to content

Documentation

Brendan Gowen edited this page Mar 9, 2017 · 4 revisions

IO Functions

Everything.h has many functions for dealing with I/O. Maybe too many. Anyway, instead of listing each one I will give you the prefixes.

*l - long,

*s - signed,

*u - unsigned,

*Int - integer,

*Dbl - double,

*Str - string,

*Lng - long,

*Sht - short,

Example

long double example = IO::lDblInput(question);

Math and PtrMath Functions

This header file also has math functions. I will go ahead and list them.

  • Add
  • Subtract
  • Multiply
  • Divide
  • SquareRoot
  • CubicRoot
  • RoundUp
  • RoundDown
  • Power
  • Pi

These are in both Math and the PtrMath namespaces, except for the Pi function.

Example

Method With Pointers:

long double answer;

PtrMath::Multiply(&answer, 3, 6);

OR

Method With Variables:

long double answer = Math::Add(50, 50);

Clone this wiki locally