Welcome to the C++ Lab Programs
by - Sudesh Kantila


Disclaimer: The Programs listed here are my authentic work. All the programs presented here are tested on Developer C++ 5 IDE with GNU C++ compilor, and, are expected to run on any standard C++ compilor with no or little modification. However, Turbo C++ 3.0 IDE, being traditional IDE and having traditional C++ compilor written for DOS may not support many features of C++, that are used by these programs. I have tried my best to keep these programs error free, yet, these may contain some errors unidentified. If you notice any such error, please let me know at kantila@gmail.com .


S.No.

Program Title

Author

Topics Covered

1

A Simple Program in C++

Sudesh Kantila

C++ syllabus for lab, #include, iostream, using , namespace, cout , cin , return

2

Program to explain Inheritance

Sudesh Kantila

class, public, private, ::, using , namespace, objects, function overriding, message passing, Inheritance

3

Program to perform complex arithmetic

Sudesh Kantila

friend operators, operator overloading using member operator, overloading using friend operator, constructors – default and parameterized, default argument, reference object, passing reference to function/operator, returning reference, inline functions,


©2007--2008, Sudesh K. Kantila
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. (This license allows you to redistribute this work in unmodified form. It allows you to make and distribute modified versions, as long as you include an attribution to the original author, clearly describe the modifications that you have made, and distribute the modified work under the same license as the original. See the license for full details.)


Home of Learing Center                                                                              A Simple Program in C++