Showing 1 to 16 of 16

BLG252E - Object Oriented Programming
Homework-1
Assignment Date : 13.10.2015
Due Date
: 03.11.2015 at 18:00
Write a C+ program to implement the Matrix class given in the UML diagram below.
The types of data members, and the return types of member functio

Object Oriented Programming
License: http:/creativecommons.org/licenses/by-nc-nd/3.0/
The Unified Modeling Language - UML
The UML is a visual language for specifying, constructing, and documenting
the artifacts of a software.
The UML is not a method to de

Object Oriented Programming
EXCEPTIONS
Exceptions provide a systematic, object-oriented approach to handle runtime errors
generated by C+ classes.
To qualify as an exception, such errors must occur as a result of some action taken
within a program and the

Object Oriented Programming
License: http:/creativecommons.org/licenses/by-nc-nd/3.0/
INHERITANCE
By the help of inheritance we can create more special classes from general classes.
Inheritance is one of the ways in object-oriented programming that makes

Object Oriented Programming
License: http:/creativecommons.org/licenses/by-nc-nd/3.0/
POINTERS TO OBJECTS
Objects are stored in memory, so pointers can point to objects just as they can to
variables of basic types.
The new Operator:
The new operator alloc

Object Oriented Programming
License: http:/creativecommons.org/licenses/by-nc-nd/3.0/
Operator Overloading
It is possible to overload the built-in C+ operators such as +, >=, and + so
that they invoke different functions, depending on their operands.
That

License: http:/creativecommons.org/licenses/by-nc-nd/3.0/
Object Oriented Programming
C+ : As a Better C
C+ was developed from the C programming language, by adding some features
to it. These features can be collected in three groups:
1. Non-object-orient

Object Oriented Programming
License: http:/creativecommons.org/licenses/by-nc-nd/3.0/
Initializing Class Objects: CONSTRUCTORS
The class designer can guarantee initialization of every object by providing a
special member function called the constructor.
T

License: http:/creativecommons.org/licenses/by-nc-nd/3.0/
Object Oriented Programming
Object Oriented Programming Concepts
When you approach a programming problem in an object-oriented language,
you will try to divided the problem into objects.
Thinking i

BLG252E - Object Oriented Programming
Homework-2
Assignment Date : 10.11.2015
Due Date
: 01.12.2015 at 18:00
You are given a text file called SUBSCRIBERS.TXT which contains information about subscribers of a telecom
company. Each row in file consists of t