Category Archives: cpp

Refresh C++

General Include #include <iostream> // Notice no semicolon Namespace using namespace std; Modifiers static Exist throughout application life time sizeof Return number of bytes occupied by the object sizeof number; sizeof(long); new Dynamically allocates heap memory Returns address of the … Continue reading

Posted in cpp | Leave a comment