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 […]

Function Templates in C++

February 1, 2017 Dhiraj 1

Templates in C++: Writing a function or a class that can work for family of functions or classes is known as generic programming. C++ supports this concept with the feature known as templates. Function Template: Writing a function that can […]

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: […]

Implementing a Rectangle Class in C++

December 3, 2016 Dhiraj 0

Declaring the method inside the class and defining it outside the class: WAP in C++ to implement a Rectangle class where the properties of a Rectangle is its length and breadth. The operations that can be performed with an Rectangle […]

C++ : OOP

OOPS Syllabus: BSc. CSIT Third Semester

November 13, 2016 Dhiraj 0

Course Title:CSC-202 Object Oriented Programming Course Synopsis: Study of basic programming skills, the concept of object oriented and its features, implementing the features. Goal:     To provide the object oriented programming approach to solve the problem. Course Contents: Unit 1( […]