Twitter ► / thecherno
Instagram ► / thecherno
Patreon ► / thecherno
Slack ► https://slack.thecherno.com
In this video we take a look at yet another use of the static keyword in C++. Static can be used in a local scope to extend the lifetime of the variable to be essentially endless, rather than getting destroyed when the scope ends.
Static in global scope ► • Static in C++
Static in class scope ► • Static for Classes and Structs in C++
Series Playlist ► • C++
BEST laptop for programming! ► http://geni.us/pakTES
My FAVOURITE keyboard for programming! ► http://geni.us/zNhB
FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq
MAIN Camera ► http://geni.us/t6xyDRO
MAIN Lens ► http://geni.us/xGoDWT
Second Camera ► http://geni.us/CYUQ
Microphone ► http://geni.us/wqO6g7K