[C++ Tutorial #17.2] std::vector, iteration, addresses

in AFuckedUpCommunity3 years ago

20201125_201011_0000.png


Understanding pointers/address and how memory works is essential if you're serious about building any app or game.
This is probably not the best example since std::vectors themselves change size and address (along with a few other things I didn't talk about..)
The point is you should get into the habit of visualizing what memory looks like and also get into the habit of debugging.

Tutorial Playlist:
https://youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy

Repository:
https://github.com/RoundBearChoi/CPP_Tutorial_Projects

Any questions/comments? Join us on discord:
https://discord.gg/hAFTgcA

intro: (0:00)
iteration: (0:52)
be careful: (3:27)
outro: (9:11)

Social
twitter: https://twitter.com/roundbeargames
facebook: https://facebook.com/roundbeargames17
hive: https://peakd.com/@roundbeargames/posts
reddit: https://reddit.com/user/roundbeargames
linkedin: https://linkedin.com/in/jangwon-choi-15041a9a

Patreon:
https://patreon.com/roundbeargames

Channel Memberships:
https://youtube.com/roundbeargames/join


rb_channel_art_1280_steem_re.png
ytlogo.pngdlogo.png twlogo.png fblogo.png rlogo.png lilogo.png