Introduction to C++: Part 2 Tutorial Outline:

Introduction to C++: Part 2 Tutorial Outline:
1 / 1
Introduction to C++: Part 2 Tutorial Outline: - slide 1 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 2 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 3 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 4 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 5 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 6 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 7 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 8 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 9 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 10 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 11 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 12 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 13 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 14 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 15 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 16 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 17 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 18 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 19 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 20 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 21 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 22 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 23 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 24 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 25 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 26 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 27 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 28 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 29 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 30 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 31 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 32 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 33 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 34 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 35 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 36 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 37 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 38 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 39 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 40 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 41 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 42 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 43 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 44 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 45 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 46 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 47 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 48 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 49 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 50 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 51 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 52 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 53 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 54 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 55 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 56 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 57 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 58 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 59 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 60 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 61 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 62 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 63 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 64 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 65 of 66 Introduction to C++: Part 2 Tutorial Outline: - slide 66 of 66
Introduction to C: Part 2 Tutorial Outline: Parts 2 and 3 References and Pointers The formal concepts in OOP More about C classes Inheritance, Abstraction, and Encapsulation Virtual functions and Interfaces References and Pointers Part

Related Topics

Download this presentation From Below

"Introduction to C++: Part 2 Tutorial Outline:" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Introduction to C++: Part 2<br>
02
Tutorial Outline: Parts 2 and 3 References and Pointers
The formal concepts in OOP
More about C++ classes
Inheritance, Abstraction, and Encapsulation
Virtual functions and Interfaces<br>
03
References and Pointers Part 1 introduced the concept of passing by reference when calling functions.
Selected by using the & character in function argument types: int add (int &a, int b)
References hold a memory address of a value.
int add (int &a, int b) a has the value of a memory address, b has an integer value.
Used like regular variables and C++ automatically fills in the value of the reference when needed:
int c = a + b ;  “retrieve the value of a and add it to the value of b”
From C there is another way to deal with the memory address of a variable: via pointer types.
Similar syntax in functions except that the & is replaced with a *:
int add (int *a, int b)
To get a value a pointer requires manual intervention by the programmer:
int c = *a + b ;  “retrieve the value of a and add it to the value of b”<br>