C++_Part1 - Object-Oriented Programming With C Page 1 S...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Object-Oriented Programming With C++ Page 1 S. Kondakci 1 18.04.2004 1. A SHORT REVIEW OF C AND C++..........................................................................................4 1.1 AN OVERVIEW OF C AND C++ ...................................................................................................4 1.2 THINKING OBJECT-ORIENTED IS ALWAYS BEING ORIENTED .......................................................5 1.3 DATA ABSTRACTION: USER DEFINED DATA TYPE ......................................................................6 1.4 C++ AND CLASS DECLARATIONS ...............................................................................................7 1.4.1 Comment Lines...................................................................................................................7 1.4.2 Class Usage .......................................................................................................................8 1.5 ADVANTAGES OF OBJECT-ORIENTED PROGRAMMING (OOP) ......................................................9 1.5.1 Example: C++ Versus C ..................................................................................................10 C Version .............................................................................................................................10 C++ Version .........................................................................................................................11 1.5.2 The Shortcomings of the C Version ...................................................................................11 2. BASIC CONCEPTS ...................................................................................................................13 2.1 UNIVERSE ...............................................................................................................................13 2.2 CLASSES .................................................................................................................................13 2.2.1 Data members..................................................................................................................13 2.2.2 Methods (Function members) ...........................................................................................13 2.3 OBJECTS .................................................................................................................................14 2.4 METHODS ...............................................................................................................................14 2.5 MESSAGES ..............................................................................................................................15 2.6 DATA ABSTRACTION ...............................................................................................................15 2.7 INHERITANCE: IS A RELATIONSHIP..........................................................................................16 2.8 HIERARCHICAL INHERITANCE ..................................................................................................17 2....
View Full Document

This note was uploaded on 03/16/2009 for the course BILGISAYAR cs116 taught by Professor Çoşkun during the Spring '09 term at Izmir University of Economics.

Page1 / 117

C++_Part1 - Object-Oriented Programming With C Page 1 S...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online