Class Templates in C++

February 2, 2017 Dhiraj 0

Class Template: As you might have seen the advantage of function template is that, the code gets compact, also by writing less number of lines of code(LoC), we can achieve our desired feature from a function template. On the other […]

Passing Objects as Arguments in C++

December 7, 2016 Dhiraj 0

C++ allows us to pass object as arguments to member function of the class( may be of the same class, or different class/es) or even non-member functions of the class . The general syntax of declaring such method would look like: […]