robert lafore -_object_oriented_programming_in_c__

1120
Object-Oriented Programming in C++, Third Edition (Publisher: Macmillan Computer Publishing) Author(s): Robert Lafore ISBN: 157169160x Publication Date: 11/25/98 Introduction About the Author Preface CHAPTER 1—THE BIG PICTURE Why Do We Need Object-Oriented Programming? Procedural Languages The Object-Oriented Approach Characteristics of Object-Oriented Languages Objects Classes Inheritance Reusability Creating New Data Types Polymorphism and Overloading C++ and C Laying the Groundwork Summary Questions CHAPTER 2—C++ PROGRAMMING BASICS Getting Started Basic Program Construction Functions Program Statements Whitespace Output Using cout String Constants Directives Preprocessor Directives Header Files The using Directive Comments Comment Syntax When to Use Comments Alternative Comment Syntax Integer Variables Defining Integer Variables Object-Oriented Programming in C++, Third Edition (Publisher: Macmillan Computer Publishing) Author(s): Robert Lafore ISBN: 157169160x Publication Date: 11/25/98 Introduction About the Author Preface CHAPTER 1—THE BIG PICTURE Why Do We Need Object-Oriented Programming? Procedural Languages The Object-Oriented Approach Characteristics of Object-Oriented Languages Objects Classes Inheritance Reusability Creating New Data Types Polymorphism and Overloading C++ and C Laying the Groundwork Summary Questions CHAPTER 2—C++ PROGRAMMING BASICS Getting Started Basic Program Construction Functions Program Statements Whitespace Output Using cout String Constants Directives Preprocessor Directives Header Files The using Directive Comments Comment Syntax When to Use Comments Alternative Comment Syntax Integer Variables Defining Integer Variables

Upload: university-of-central-punjab

Post on 08-May-2015

1.520 views

Category:

Education


2 download

TRANSCRIPT

  • 1.Object-Oriented Programming in C++, Third Edition (Publisher: Macmillan Computer Publishing) Author(s): Robert Lafore ISBN: 157169160x Publication Date: 11/25/98 Introduction About the Author Preface CHAPTER 1THE BIG PICTURE Why Do We Need Object-Oriented Programming? Procedural Languages The Object-Oriented Approach Characteristics of Object-Oriented Languages Objects Classes Inheritance Reusability Creating New Data Types Polymorphism and Overloading C++ and C Laying the Groundwork Summary Questions CHAPTER 2C++ PROGRAMMING BASICS Getting Started Basic Program Construction Functions Program Statements Whitespace Output Using cout String Constants Directives Preprocessor Directives Header Files The using Directive Comments Comment Syntax When to Use Comments Alternative Comment Syntax Integer Variables Defining Integer Variables Object-Oriented Programming in C++, Third Edition (Publisher: Macmillan Computer Publishing) Author(s): Robert Lafore ISBN: 157169160x Publication Date: 11/25/98 Introduction About the Author Preface CHAPTER 1THE BIG PICTURE Why Do We Need Object-Oriented Programming? Procedural Languages The Object-Oriented Approach Characteristics of Object-Oriented Languages Objects Classes Inheritance Reusability Creating New Data Types Polymorphism and Overloading C++ and C Laying the Groundwork Summary Questions CHAPTER 2C++ PROGRAMMING BASICS Getting Started Basic Program Construction Functions Program Statements Whitespace Output Using cout String Constants Directives Preprocessor Directives Header Files The using Directive Comments Comment Syntax When to Use Comments Alternative Comment Syntax Integer Variables Defining Integer Variables

2. Declarations and Definitions Variable Names Assignment Statements Integer Constants Output Variations The endl Manipulator Other Integer Types Character Variables Character Constants Initialization Escape Sequences Input with cin Variables Defined at Point of Use Cascading