C++ Basic Skills: 38 - Lists
Uploader Comments (outofmylaboratory)
All Comments (16)
-
@trappingnoobs yes its called map
-
is advance global function ?
in c++11 standard we can do this way
pastebin(dot)com/ebwWwxgA
-
..yet
-
@BLOOMS This is only true is the newest Visual Studio, this is not standardized or portable.
-
Isn't an array the best way to go for storing almost anything? Does C++ have an equivalent for Dictionaries?
-
Just finished watching all of your videos again Duncan. Very nice job overall! They are just the right level of complexity for people who've maybe programmed in C++ before, and are coming back to it. A very nice introduction/review. Thanks again for all of the work you've done on these--I bet Generation 2 of your earlier videos will be even better.
-
I've been looking up videos all afternoon trying to figure out how exactly linked lists work and why the hell pointers are even useful. The picture you used in the beginning explained more in the first minute of your video then the rest I've been watching all day. It finally clicked for me! Thank you thank you thank you!
-
thank you for showing me the draw back to using list. I tried using the replace function from "algorithm" but that would change all the 0's to 10 and not just the third element.
thankyou, this has helped loads....
i just have one query...
when u inserted an element, the list printed out {0,0,10,11,0,0}
you then removed the 4th element with myList.erase(insertIt)...
surely this would result in the list printing...
{0,0,10,0,0}
however, yours produced...
{0,0,10,0}
where did the 5th element go?
hsncool 1 month ago
@hsncool When I was demonstrating removing an element, I overwrote the code that added in the 11. So it was actually the original array {0, 0, 10, 0, 0} that I was calling erase() on.
outofmylaboratory 1 month ago