Dive into C++11 - [3] - Automatic lifetime, pointers, dynamic allocation

Subscribers:
6,290
Published on ● Video Link: https://www.youtube.com/watch?v=0TGp0o1KnG8



Duration: 41:29
14,588 views
186


http://vittorioromeo.info
- Check out my website!

Source: https://github.com/SuperV1234/Tutorials

Sorry for the poor audio quality. My microphone broke and I used another one.
If you have a know a good, cheap microphone for voice recording, please post a suggestion in the comments.

Hello everyone!
This is the third episode of my game-development series, `Dive into C++11`.

In this episode we'll take a break from game development to delve into C and C++'s memory and lifetime management. We'll talk about automatic variable lifetime, pointers in general and dynamic memory allocation.

The intended audience for this tutorial/screencast are people who have some experience with C++ in general, and who watched the previous episodes. This episode may be very interesting for those with experience with C++ who want to learn more about variable lifetime and memory management.

I greatly appreciate comments and criticism, and ideas for future videos/tutorials.

Feel free to fork the game's source code at
https://github.com/SuperV1234/Tutorials
and expand upon it: I may feature the best forks in a future video, if people enjoy the idea.

Thanks for watching!

---

http://vittorioromeo.info




Other Videos By Vittorio Romeo


2015-02-16Unknown games - Drain Storm (Review/Gameplay)
2015-01-29"Delver's Choice" RC7 gameplay - GGJ2015 entry
2014-11-29Handle-based entity management experiments
2014-10-08Video of my CppCon2014 presentation now available!
2014-09-29[Surface Pro 3] "Touhou 11 - Subterranean Animism" gameplay (Touch Keyboard)
2014-09-29[Surface Pro 3] "osu!" gameplay (Touch Keyboard + Pen)
2014-09-17[VLOG] post-summer - (Absence, CppCon, Open Hexagon, ...)
2014-05-21Oh Lord Piglet, guide me. (League of Legends)
2014-01-03Dive into C++11 - [4] - Smart pointers
2014-01-02operation bloodshed - devlog #17 - (text editing, GUI styling, new particles)
2013-12-15Dive into C++11 - [3] - Automatic lifetime, pointers, dynamic allocation
2013-11-29Dive into C++11 - [2] - Frametime, FPS, constexpr, uniform initialization
2013-11-24Dive into C++11 - [1] - Arkanoid clone in 160~ lines of code (SFML 2.1)
2013-11-23operation bloodshed - devlog #16 - (GUI, force fields, bullet boosters)
2013-10-22operation bloodshed - devlog #15 - (on-off pressure plates, explosives, new elements/tweaks)
2013-10-08operation bloodshed - devlog #14 - (new elements, multi-level sectors)
2013-09-30operation bloodshed - devlog #13 - (many new elements)
2013-09-30operation bloodshed - devlog #13 addendum - (example room)
2013-09-29operation bloodshed - devlog #12 - (fully working level editor)
2013-09-28operation bloodshed - devlog #11 - (particle blendmodes, ai changes, wip editor)
2013-09-26operation bloodshed - devlog #10 - (wall autotiling, charge particles, raycasting, new gfx)



Tags:
vittorio
romeo
vee
gamedev
game
development
software
programming
c++
cpp
open
hexagon
super
terry
cavanagh
sfml
ssv
tutorial
video
ludum
dare
10corp
operation
bloodshed
carnage
midnight
synergy
hyper
princess
pitch
devlog
Pointer
c++11
screencast
fps
constexpr
dive
into
cpp11