Object Oriented Programming (OOP)
Date: Around 1995
How does object oriented programming work? Specifically, what separates C
form C++? Why does it seem necessary that one understand OOP before trying
to program in Windows?
Well, they are similar in that both use the C language. They are different
in that C++ expands on C. In Object Orientated Programming (OOP), you create
objects. These objects are used to create new objects. Then your programs
call these objects. If you want to improve a program, you just need to
change the objects, not the whole program.
Windows is big on OOP's because it uses large classes of objects. You make
calls to create a window of x,y or you create a scroll list, etc. You do
not need to design these objects, you just use them. Then if the object is
ever redone, you just need to recompile.
There is more to OOP, but I hope this helps.
Click here to return to the Computer Science Archives
Update: June 2012