PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: stock market

Lecture 7 Notes: Object-Oriented Programming (OOP) and ...

Introduction to C++ January 19, 2011 Massachusetts Institute of Technology Lecture 7 Notes: Object-Oriented Programming (OOP) and Inheritance We ve already seen how to define composite datatypes using classes. Now we ll take a step back and considertheprogrammingphilosophy underlying classes,known as Object-Oriented Programming (OOP). 1 The Basic Ideas of OOP Classic procedural programminglanguagesbeforeC++(such asC) oftenfocused onthe question What should the program do next? The way you structure a program in these languagesis: 1. Split it up into a set of tasks and subtasks 2. Make functions for the tasks 3. Instruct the computer to perform them in sequence With large amounts of data and/or large numbers of tasks, this makes for complex and unmaintainableprograms.

Lecture 7 Notes: Object-Oriented Programming (OOP) and Inheritance We’ve already seen how to define composite datatypes using classes. Now we’ll take a step back and consider the programming philosophy underlying classes, known as object-oriented programming (OOP). 1 The Basic Ideas of OOP

Loading..

Tags:

  Programming, Object, Oriented, Object oriented programming

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Lecture 7 Notes: Object-Oriented Programming (OOP) and ...

Related search queries