Тёмный

InheritancePart V (Lecture 40) 

Programming in C plus plus
Подписаться 10 тыс.
Просмотров 17 тыс.
50% 1

Опубликовано:

 

24 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@manmohankrishna2407
@manmohankrishna2407 5 лет назад
the code at 20:53 gives the following error: error:'C::C()' is protected similar thing for the destructor of C. Also, there's no such error for the constructor and destructor of B although they are also protected.
@manmohankrishna2407
@manmohankrishna2407 5 лет назад
I understood later. The error is due to the creation of C data_ in D which is not allowed since constructor of C is protected which D can access only for creating an instance of D. Further can be clarified if you delete "C data_;" and try to run the code and see the output.
Далее
Dynamic Binding Part I (Lecture 41)
30:06
Просмотров 26 тыс.
Тонкости французской кухни🥰
00:48
🌭 BBQ Chili Dog Skillet #Shorts
00:36
Просмотров 2,1 млн
Virtual Function Table (Lecture 46)
30:46
Просмотров 25 тыс.
Static Members (Lecture 31)
32:56
Просмотров 27 тыс.
Brief introduction to C++: Classes and objects
34:02
Просмотров 1,9 тыс.
Closing Comments (Lecture 56)
31:27
Просмотров 13 тыс.
How I Built It: $40K/Month iPhone App
17:02
Просмотров 9 тыс.
GEOMETRIC DEEP LEARNING BLUEPRINT
3:33:23
Просмотров 181 тыс.
Constants and Inline Functions (Contd.) (Lecture 09)
24:53
Reference and Pointer ( Lecture 10)
28:17
Просмотров 49 тыс.
Classes and Objects (Lecture 19)
29:58
Просмотров 60 тыс.
Тонкости французской кухни🥰
00:48