C++ standard functions commonly used for hw