bkkothari2255/OOPC
This repository is divided into branches as per experiment and contains practical code or cpp programs which have performed during lab sessions of Object Oriented Programming with C++ at DSTC ,GTU .
Object Oriented Programming with C++
Note : These all experiments is performend in dev c++ IDE so some syntax may differ from other IDEs.
@github.com/bkkothari2255
EXPERIMENT_1
PRA_1 To demonstrate use of class
PRA_2 To convert feet into inches using class
PRA_3 Scope resolution operator without using class
PRA_4 Scope resolution operator using class
EXPERIMENT_2
PRA_5 Use nesting of member function
PRA_6 Use of manipulators and private member function
PRA_7 Print array in ascending order
PRA_8 To demonstrate inline function
PRA_9 To use of default arguments
PRA_10 To compute volume using function overloading
EXPERIMENT_3
PRA_11 To use of static data members
PRA_12 To demonstrate use of static data member functions
PRA_13 To demonstrate use of array of objects
PRA_14 To pass objects as function arguments
EXPERIMENT_4
PRA_15 To demonstrate use of friend function
PRA_16 To use friend function with call by reference
PRA_17 A function with call by reference
EXPERIMENT_5
PRA_18 To demonstrate use of constructors
PRA_19 To demonstrate use of copy constructors
PRA_20 To implement the destructor
EXPERIMENT_6
PRA_21 To overload binary operators using friend function
PRA_22 To overload binary operators using friend function
PRA_23 To use single inheritance by public derivation
PRA_24 To use single inheritance by private derivation
EXPERIMENT_7
PRA_25 To demonstrate multilevel inheritance
PRA_26 To demonstrate multiple inheritance
EXPERIMENT_8
PRA_27 To demonstrate hierarchical inheritance
PRA_28 To demonstrate hybrid inheritance
EXPERIMENT_9
PRA_29 To implement concept of virtual base class
PRA_30 To use of pointer to objects
EXPERIMENT_10
PRA_31 To use of this pointer
PRA_32 To use of virtual functions