Skip to content

Commit 3501d99

Browse files
committed
Added video links.
1 parent fa541e2 commit 3501d99

2 files changed

Lines changed: 23 additions & 10 deletions

File tree

cpp/cpp1/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Introduction to C
1+
# Introduction to C++ & OOP
22

33
## cppio.cpp
44

@@ -9,8 +9,10 @@ This file has examples of using stream input & output in C++.
99

1010
## overview.cpp
1111

12-
*Introduction to C++*
13-
This file has examples of variable declarations, auto, constants, a vector, and pointers in C++.
12+
[Video](https://youtu.be/qJ_LcjbN8fI)
13+
*Introduction to C++ syntax*
14+
15+
This file has examples of variable declarations, initilaizations, auto, constants, a vector, and pointers in C++.
1416

1517
## strings.cpp
1618

@@ -23,7 +25,7 @@ C++ includes a string type. Several examples of different string functions.
2325

2426
[Video 1](https://youtu.be/zvgwLT4FSQg) *Inheritance with C++, pointers & references*
2527

26-
[Video 2]() *Polymorphism, virtual, non-virtual, & pure virtual methods*
28+
[Video 2](https://youtu.be/TB50U8UoA78) *Polymorphism, virtual, non-virtual, & pure virtual methods*
2729

2830
This file includes examples of inheritance, polymorphism, and virtual and pure-virtual methods.
2931

cpp/cpp2/README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1-
### destructors.cpp
1+
# C++ Memory Management
2+
3+
## destructors.cpp
4+
5+
Video
26
*Example of destructor & copy constructor*
37

4-
### references.cpp
8+
## references.cpp
9+
10+
Video
511
*Examples of C++ references*
612

7-
### structvsclass.cpp
13+
## structvsclass.cpp
14+
15+
Video
816
*Comparing structs & classes in C++*
917

10-
### delete.cpp
11-
"Examples of using delete, value & reference semantics"
12-
When allocating an array with new we should use delete[] instead of delete.
18+
## memory.cpp
19+
20+
[Video](https://youtu.be/QZvPvywUXnQ)
21+
*More complete example of memory management and the rule of 3*
22+
23+
Demonstrates using delete vs delete[], value & reference semantics, copy constructors, and overloading the = operator.

0 commit comments

Comments
 (0)