YoVDO

Vector-Dynamic Array - Making Data Structures in C++

Offered By: The Cherno via YouTube

Tags

Vectors Courses C++ Courses Data Structures Courses Memory Management Courses Variadic Templates Courses

Course Description

Overview

Learn how to implement a vector/dynamic array data structure in C++ in this comprehensive 45-minute tutorial. Explore key concepts including static arrays, reallocation, copying, moving, pushback operations, index operators, and vector class implementation. Dive into advanced topics such as placeback, moving values, move destroy, variadic templates, and memory management. Gain practical insights on building, debugging, and optimizing your custom vector implementation while understanding crucial C++ concepts like destructors and memory blocks.

Syllabus

Intro
Static Array
Reallocate
Copy
Move
Pushback
Index Operator
Vector Class
Placeback
Vector
Moving Values
Move Destroy
Place Back
Variatic Template
Build Error
Destructor
Popback
Advanced Tip
Whats Next
The Bug
Adding a Memory Block
Deleting Memory Blocks
Removing Destructor
Testing Vector
Outro


Taught by

The Cherno

Related Courses

Coding the Matrix: Linear Algebra through Computer Science Applications
Brown University via Coursera
Çok değişkenli Fonksiyon I: Kavramlar / Multivariable Calculus I: Concepts
Koç University via Coursera
Data Structures and Algorithm Design Part I | 数据结构与算法设计(上)
Tsinghua University via edX
Massively Multivariable Open Online Calculus Course
Ohio State University via Coursera
Introduction to R for Data Science
Microsoft via edX