Nested Structures -- C++ Structs Tutorial #5

preview_player
Показать описание
Let's see what happens when you have a struct that is a member of another struct.

In this C++ programming tutorial for beginners, you'll learn through coding examples using Visual Studio Community.

// Learn More

// Consider supporting this channel in multiple ways
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP
Рекомендации по теме
Комментарии
Автор

I hope this channels gets the recognition it deserves :D

LesediFefe
Автор

Nice, and easily explained thanks!

structs in C++ are a 'little different' then in just C, so a few things to watch out for if you are used to structs in C. Love the FooBar, every programmer needs to know FooBar or they are not a real programmer

I'll bet your next video will point out your nested structure can also refer to the structure itself in order to make a linked list 🙂

struct node {
int x;
node *next;
};

TrueGeekWisdom
Автор

Professor can you think about it kind of like referencing

joeyaguirre