Department of Energy Argonne National Laboratory Office of Science NEWTON's Homepage NEWTON's Homepage
NEWTON, Ask A Scientist!
NEWTON Home Page NEWTON Teachers Visit Our Archives Ask A Question How To Ask A Question Question of the Week Our Expert Scientists Volunteer at NEWTON! Frequently Asked Questions Referencing NEWTON About NEWTON About Ask A Scientist Education At Argonne Object Oriented Programming (OOP)
Name: Andrew
Status: N/A
Age: N/A
Location: N/A
Country: N/A
Date: Around 1995


Question:
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?



Replies:
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.

Sysop


Click here to return to the Computer Science Archives

NEWTON is an electronic community for Science, Math, and Computer Science K-12 Educators, sponsored and operated by Argonne National Laboratory's Educational Programs, Andrew Skipor, Ph.D., Head of Educational Programs.

For assistance with NEWTON contact a System Operator (help@newton.dep.anl.gov), or at Argonne's Educational Programs

NEWTON AND ASK A SCIENTIST
Educational Programs
Building 360
9700 S. Cass Ave.
Argonne, Illinois
60439-4845, USA
Update: June 2012
Weclome To Newton

Argonne National Laboratory