Local Static in C++

The Cherno
The Cherno
185.3 هزار بار بازدید - 7 سال پیش - Twitter ►
Twitter ► twitter.com/thecherno Instagram ► instagram.com/thecherno Patreon ► patreon.com/thecherno Slack ► 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! ► geni.us/pakTES My FAVOURITE keyboard for programming! ► geni.us/zNhB FAVOURITE monitors for programming! ► geni.us/Ig6KBq MAIN Camera ► geni.us/t6xyDRO MAIN Lens ► geni.us/xGoDWT Second Camera ► geni.us/CYUQ Microphone ► geni.us/wqO6g7K
7 سال پیش در تاریخ 1396/05/09 منتشر شده است.
185,307 بـار بازدید شده
... بیشتر