У нас вы можете посмотреть бесплатно C++ for C programmers -- lesson 1 (classes, constructors, methods, templates, is it efficient?) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Are you familiar with C, or with languages based on C? This video gives a quick introduction to C++: a very small core set of things that are new in C++ compared to C. [Subtitles/Captions available] Topics covered, in order: Bidirectional linked list in C What is a class (it is a struct) Methods Struct is a type (typedef is not needed) Constructing and destructing Template classes std::list is already in STL (C++ standard library) performance impact (none at all) Twitter: / realbisqwit Patreon: / bisqwit (alternatives at https://iki.fi/bisqwit/donate.html) Twitch: / realbisqwit Homepage: https://iki.fi/bisqwit/ Things I forgot to mention: methods (member functions) do not increase the size of the struct/class at all. They literally work just the same way as the original C code in this video works, even though they're defined in between the struct's { and }. Memory usage per class instance is not increased (and scalability is not hurt), no matter how many methods the class defines. Topics intentionally omitted for clarity and brevity, even though they would be good style for this program: copy constructor / assign operators member initialization in constructor public and private std::string rather than const char* const references rather than T verbatim exception safety It's been a while since I last published videos containing English speech. I think I've taken a step backwards towards robotic speech, due to lack of practice. Sorry about that. English is still not my native language! Same lesson in HTML format: https://bisqwit.iki.fi/story/howto/cp...