No video

STL std::forward_list | Modern Cpp Series Ep. 119

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

Mike Shah

Mike Shah

Күн бұрын

Пікірлер: 14
@sambhavmishra5423
@sambhavmishra5423 Жыл бұрын
Your consistency and dedication is amazing! Thanks a lot
@MikeShah
@MikeShah Жыл бұрын
Cheers, thank you for the kind words!
@norm123ism
@norm123ism Жыл бұрын
You might have saved my uni course, gotta submit in under 24hours and was struggling before find your video. I`m pretty new to C++ as I`ve mostly used regular C only but your explanation was very clear and understandable. Thanks a lot!
@MikeShah
@MikeShah Жыл бұрын
Cheers, happy to help!
@shawnshaw9859
@shawnshaw9859 Жыл бұрын
user entr to auto build and run on the side can save some typing
@MikeShah
@MikeShah Жыл бұрын
Agreed! kzfaq.info/get/bejne/qa-iotJ3z7OdYGg.html 🙂
@bsdooby
@bsdooby Жыл бұрын
all list-based (dl, sl) data structures suffer from data not being local. At first sight, a dl or sl list might seem a good choice, until you begin to measure performance...
@MikeShah
@MikeShah Жыл бұрын
Always have to measure! list still could be a good structure depending on how often you modify the data structure. :)
@kevinzebb
@kevinzebb Жыл бұрын
In your professional career and education, how often do you use these data structures such as fwd list? I find that I mainly use array, vector, and unordered_map.
@MikeShah
@MikeShah Жыл бұрын
I haven't seen forward_list used as much in practice, because folks will tend to just implement it from scratch. I also think part of that reason is that folks are not aware of it -- the disadvantage being that you don't get the rest of std::algorithm and the other libraries that might be nice to get for free :) The subset you mentioned (especially for games/graphics) are the 3 data structures that are the most common in my experience and own personal use.
@kevinzebb
@kevinzebb Жыл бұрын
@@MikeShah I agree, std::algorithm has a lot of good stuff, been trying to make more/better use of built in functions. Liking the 30min vids, looking forward to the next one.
@MikeShah
@MikeShah Жыл бұрын
@@kevinzebb Cheers!
@Zhouri
@Zhouri Жыл бұрын
Actually I found out that there is a method to reverse() the list, so we can easily push the number that we want at the end then reverse() it back.
@MikeShah
@MikeShah Жыл бұрын
Ah, I suppose there is ::reverse available 🙂
STL std::deque  | Modern Cpp Series Ep. 120
28:43
Mike Shah
Рет қаралды 2,6 М.
Why Linked Lists vs Arrays isn’t a real choice
9:15
SimonDev
Рет қаралды 309 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 14 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 54 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 19 МЛН
STL std::set | Modern Cpp Series Ep. 121
24:15
Mike Shah
Рет қаралды 3,5 М.
How much faster has Mojo's dictionary gotten?
7:40
EKB PhD
Рет қаралды 3,6 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 296 М.
STL std::list | Modern Cpp Series Ep. 118
33:48
Mike Shah
Рет қаралды 4,2 М.
C++11 Perfect Forwarding
17:24
oneproduct
Рет қаралды 18 М.
every good programmer should know how to code this data structure (its easy)
21:08
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 166 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00