Description:
Часть #36. Неразбиваемый кирпич, этап 1. (Базовый курс программирования на С++) Вы можете поддержать автора и купить курсы на https://www.start-game.net Все части в плейлисте: https://www.youtube.com/playlist?list=PLlheCABZdy3OZoIh9VwlYUbTSCWwDUee6 Оглавление курса на Википедии: https://ru.wikiversity.org/wiki/%D0%91%D0%B0%D0%B7%D0%BE%D0%B2%D1%8B%D0%B9_%D0%BA%D1%83%D1%80%D1%81_%D0%A1%2B%2B 00:00 - Неразбиваемый кирпич, этап 1 00:41 - Делаем раскадровку анимации неразбиваемого кирпича 04:31 - Добавим код анимации в метод Act() активного кирпича 07:20 - Создаём копипастом класс AActive_Brick_Unbreakable 10:55 - Делим функциональность активных кирпичей на 2 класса 17:16 - Выносим общую функциональность в класс AActive_Brick 19:16 - Переносим данные в секцию класса protected 20:54 - Добавим вызовы конструктора базового класса AActive_Brick 23:13 - Переносим конструктор AActive_Brick в защищённую секцию 25:01 - Удаляем объекты производных классов через указатель на базовый 28:48 - Смотрим в отладчике, как происходит удаление объекта 31:25 - Смотрим то же действие, но в машинных кодах 36:37 - Добавим деструктор AGraphics_Object 39:35 - Делаем деструктор AGraphics_Object виртуальным 45:45 - Создаём неразбиваемый кирпич в Add_Active_Brick() 48:06 - Исключения (exceptions) в С++ 50:10 - Смотрим, как генерируется исключение оператором throw 52:06 - Перехватываем исключение операторами try/catch 55:27 - Как нужно использовать исключения 58:55 - Выбросим исключение в конструкторе AActive_Brick_Red_Blue 01:01:13 - Фабрика объектов 01:02:21 - Рисуем неразбиваемый кирпич в методе Draw_Brick() 01:05:43 - Popcorn_part_36.zip: пишем код Popcorn_part_36.zip - https://drive.google.com/open?id=1WPKdOsrrZolssOlK9HnHDLIN83L48JI3
Preparing download options
http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.
The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.
UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.
UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.
The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.
The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.
You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.
The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.
This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.
It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.