C++ Tutorial [39] - Access Specifiers | Accessors & Mutators
Автор: Kody Simpson
Загружено: 2020-07-19
Просмотров: 2767
Описание:
In this episode, I show you how to use access specifiers like public and private in the class definitions so that you can achieve data hiding. I also demonstrate the use of accessors and mutators(getters and setters) which are functions to access the hidden data indirectly. Finally, I also demonstrate the const keyword with function prototypes that serve as a promise to the C++ compiler that you won't be modifying any data in the function implementation. #CPP
Code: https://gitlab.com/kody-simpson/cpp-s...
Discord: https://rebrand.ly/discordlink
Support: / @kodysimpson
More Videos coming soon.
Leave a comment for any future video suggestions.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: