Nested Structures -- C++ Structs Tutorial #5

  Рет қаралды 1,989

Professor Hank Stalica

Professor Hank Stalica

Күн бұрын

Пікірлер: 12
@LesediFefe
@LesediFefe 8 ай бұрын
I hope this channels gets the recognition it deserves :D
@TrueGeekWisdom
@TrueGeekWisdom Жыл бұрын
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; };
@ProfessorHankStalica
@ProfessorHankStalica Жыл бұрын
Absolutely right. I'm staring at you, access specifiers. Regarding access specifiers, that isn't until chapter 18. We're still in chapter 11. :^)
@joeyaguirre5656
@joeyaguirre5656 7 ай бұрын
Professor can you think about it kind of like referencing
@ProfessorHankStalica
@ProfessorHankStalica 7 ай бұрын
If you are referring to something like this: a->b->c; or in Java when you do stuff like a.b.c; I suppose you could. Maybe a better way of thinking about it is more like aggregation or the "has-a" relationship.
@meigusuyu
@meigusuyu Жыл бұрын
Thank you!
@ProfessorHankStalica
@ProfessorHankStalica Жыл бұрын
Welcome!
@orgen5170
@orgen5170 Жыл бұрын
Thank you so much!!
@ProfessorHankStalica
@ProfessorHankStalica Жыл бұрын
Glad it helped!
@kingjequen6018
@kingjequen6018 9 ай бұрын
Thank you
@ProfessorHankStalica
@ProfessorHankStalica 9 ай бұрын
Welcome!
@jhangirahmad1544
@jhangirahmad1544 Жыл бұрын
very good
Passing structures to functions -- C++ Structs Tutorial #6
12:46
Professor Hank Stalica
Рет қаралды 3,6 М.
you will never ask about pointers again after watching this video
8:03
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 851 М.
Pointers and structures -- C++ Structs Tutorial #8
12:49
Professor Hank Stalica
Рет қаралды 2,3 М.
What is an object pool, and how to create one in C?
23:14
Jacob Sorber
Рет қаралды 16 М.
struct Basics | C Programming Tutorial
24:44
Portfolio Courses
Рет қаралды 159 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 190 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 848 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 315 М.
the TRUTH about C++ (is it worth your time?)
3:17
Low Level
Рет қаралды 817 М.