C Plus Plus Programming, Cplusplus, C Plus Plus Language, Systems Programming, Software Engineering.
can also use STL in many cases as below. std::less<int> lessThan; std::greater<int> greaterThan; // <int> can be replaced with <user-defined_type> // by creating a custom comparator comparator function Raw Arrays & Pointers Arrays & Pointers in C++ You should never create a list or arrays as below