Presentation is loading. Please wait.

Presentation is loading. Please wait.

C++, OBJECT ORIENTED PROGRAMMING

Similar presentations


Presentation on theme: "C++, OBJECT ORIENTED PROGRAMMING"— Presentation transcript:

1 C++, OBJECT ORIENTED PROGRAMMING
Timo Mynttinen Mikkeli University of Applied Sciences C++ tMyn

2 OBJECT ORIENTED PROGRAMMING
INTRODUCTION TO FUNDAMENTALS A Simple C++ Program Characters and Character Sets BASIC DATA TYPES Arithmetics with Integers Integer Variables The Assignment Operator The const Keyword C++ tMyn

3 BASIC INPUT AND OUTPUT OPERATIONS
Floating Point Values Variables of Type char Data Type Conversion and Casting Enumerated Data Types The typedef Keyword The Lifetime of a Variable Precedence and Associativity BASIC INPUT AND OUTPUT OPERATIONS C++ tMyn

4 CHOICES AND DECISION-MAKING
Comparing Data Values The if Statement The if-else Statement Logical Operators The switch Statement Understanding Loops The while Loop The do-while Loop The for Loop Skipping Loop Iterations C++ tMyn

5 ARRAYS AND STRINGS Using an Array Arrays of Characters
Multidimensional Arrays The string Type C++ tMyn

6 THE FUNDAMENTALS OF USING FUNCTIONS
POINTERS Using Pointers Initializing Pointers to Type char Constant Pointers and Pointers to Constants Pointers and Arrays Dynamic Memory Allocation THE FUNDAMENTALS OF USING FUNCTIONS Why to Partition the Program Function Prototype Function Call Function Definition Passing Arguments to a Function Returning Values from a Function C++ tMyn

7 CREATING OWN DATA TYPES
Understanding Structures Accessing the Members of a Structure Variable Using Pointers with a Structure CLASSES Classes and Object-Oriented Programming Defining a Class Constructors Class Operations C++ tMyn

8 INTRODUCTION TO INHERITANCE
Basic Concepts Inheritance in Classes Access Control Under Inheritance The Access Level of Inherited Class Members Constructor Operation in a Derived Class VIRTUAL FUNCTIONS AND POLYMORPHISM Understanding Polymorphism Virtual Functions C++ tMyn

9 EXCEPTION HANDLING FILE STREAMS Handling Errors Basic Concepts
Writing to a File Reading from a File C++ tMyn


Download ppt "C++, OBJECT ORIENTED PROGRAMMING"

Similar presentations


Ads by Google