#вопросы_с_собеседований
Зачем нужен виртуальный деструктор?
Для того, чтобы избежать утечки ресурсов и другого неконтролируемого поведения объекта.
Без ключевого слова virtual у родительского класса Base деструктор порожденного класса не был бы вызван. Т.е. вызвался бы только ~Base():
Зачем нужен виртуальный деструктор?
Для того, чтобы избежать утечки ресурсов и другого неконтролируемого поведения объекта.
Без ключевого слова virtual у родительского класса Base деструктор порожденного класса не был бы вызван. Т.е. вызвался бы только ~Base():
Hello from ~Base()
Обзор нескольких продвинутых тем из С++ для опытных разработчиков, включая rvalue и move-семантику, шаблоны, лямбды и другое.
https://www.incredibuild.com/blog/cpp-advanced-topics-for-experienced-cpp-devs
https://www.incredibuild.com/blog/cpp-advanced-topics-for-experienced-cpp-devs
incredibuild
C++ advanced topics for experienced C++ devs - incredibuild
C++ is moving forward, fast. In this post we cover several C++ advanced topics, including rvalue and move, templates, lambda, and more.
Основы декодирования GStreamer H264/MP4 на C/C++ и манипуляции с буферами кодирования/декодирования.
https://blog.degitx.com/general/gstreamer-h264-capture.html
https://blog.degitx.com/general/gstreamer-h264-capture.html
Degitx
GStreamer H264/MP4 decoding C/C++ basics and encoding/decoding buffers manipulations | Alexey Kasyanchuk — Senior Software Developer
Alexey Kasyanchuk GStreamer video capture camera basics
Когда микросекунда — это вечность: высокопроизводительные торговые системы на C++.
https://youtu.be/NH1Tta7purM
https://youtu.be/NH1Tta7purM
YouTube
CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”
https://CppCon.org
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017
—
Automated trading involves submitting electronic orders rapidly when opportunities arise. But it’s harder than…
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017
—
Automated trading involves submitting electronic orders rapidly when opportunities arise. But it’s harder than…
Небольшая игра с открытым исходным кодом на C++.
https://preshing.com/20201126/a-small-open-source-game-in-cpp/
https://preshing.com/20201126/a-small-open-source-game-in-cpp/
Preshing
A Small Open Source Game In C++
I just released a mobile game called Flap Hero. It’s a Flappy Bird clone with cartoony graphics and a couple of twists: You can go in the pipes (wow!) and it takes two …
Что выведет код?
Anonymous Quiz
3%
1
40%
0
16%
Compiler Error
5%
Runtime Error
35%
Случайное значение
2%
Другое
Проверка ошибок памяти в C и C++.
https://developers.redhat.com/blog/2021/05/05/memory-error-checking-in-c-and-c-comparing-sanitizers-and-valgrind
https://developers.redhat.com/blog/2021/05/05/memory-error-checking-in-c-and-c-comparing-sanitizers-and-valgrind
Red Hat Developer
Memory error checking in C and C++: Comparing Sanitizers and Valgrind | Red Hat Developer
This article compares two tools, Sanitizers and Valgrind, that find memory bugs in programs written in memory-unsafe languages. These two tools work in very different ways. Therefore, while Sanitizers