C++, OBJECT ORIENTED PROGRAMMING Timo Mynttinen Mikkeli University of Applied Sciences C++ tMyn
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
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
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
ARRAYS AND STRINGS Using an Array Arrays of Characters Multidimensional Arrays The string Type C++ tMyn
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
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
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
EXCEPTION HANDLING FILE STREAMS Handling Errors Basic Concepts Writing to a File Reading from a File C++ tMyn