Description:
Часть #15. Рефакторинг сложного класса. (Базовый курс программирования на С++) Самые лучшие бесплатные курсы по C++, Ассемблеру и Unreal Engine 5! Все части в плейлисте: 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 - Рефакторинг сложного класса 01:42 - Форматирование ссылок и указателей 03:58 - Настройка выравнивания кода в Visual Studio 06:13 - Выносим сущность шарика в класс ABall 10:50 - Исправляем ошибки, разделяя сущности движка и шарика 29:15 - Указатель на себя this 33:44 - Переносим часть членов класса ABall в приватную секцию 35:53 - Popcorn_11.zip: пишем код 36:22 - Выносим сущность уровня в класс ALevel 55:07 - Рефакторим метод Init_Engine() 01:02:11 - Статический метод 01:05:21 - Popcorn_12.zip: пишем код 01:05:39 - Создаём функцию инициализации ABall::Init() 01:07:57 - Выносим сущность платформы в класс AsPlatform 01:29:33 - Рефакторим имена членов данных платформы 01:32:38 - Popcorn_13.zip: пишем код 01:32:50 - Выносим сущность рамки в класс AsBorder 01:40:26 - Рефакторим имена методов 01:43:00 - Подводим итог рефакторинга класса движка 01:43:46 - Popcorn_14.zip: пишем код Popcorn_11.zip https://drive.google.com/open?id=1eXtYryEBoauBjJXsL-tgI3G92smqqwzS Popcorn_12.zip https://drive.google.com/open?id=1txBSML3A1G6My_xdoqaYK6I7uEIBuAsF Popcorn_13.zip https://drive.google.com/open?id=1UfHvgeoV8hvOQfehlK0VU4mG56oMnWaV Popcorn_14.zip https://drive.google.com/open?id=17k7rLh-yEYs8HCAzkHAZSQOuS-iVRUfg
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.