Boost → Boost - performing periodic tasks using boost::thread
I propose to write a small console program that will perform one task at regular intervals.
For example, the program starts and makes 10 samples within 10 seconds, while the program will display information about the number of the countdown …
C++ → CMake project with subdirectories and static library
I propose to write a small application that will have two subdirectories. One of which will compile the executable file, and the second will contain a statically linked library.
As a result, the project will look like this.
Root CMakeLists.txt …
Boost → Boost - Use enum in parameters boost::program_options
options, class enum, Program, Boost
A small addition to the article on the use of boost::program_options .
In this appendix I will describe how to use enum enums. Because immediately they do not work. By default, boost::program_options work only with basic types and some types …
Boost → Boost - static linking in CMake project under Windows
cpp, Boost, linking, C++, static
A small note about static linking Boost, so as not to forget.
Initial data:
- OS Windows
- MSVC 2017 64bit
- Boost 1.68.0
- CMake project
An example will be shown in the simplest version without special variable settings. Maximum default.
Step 1 …
Boost → Boost - Console program menu using boost::program_options
And here is an article on the boost of my some accumulated materials. I offer you the option of writing a console program with support for the console menu, which is implemented using boost::program_options .
boost::program_options is responsible for processing …
Qt → Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers
Initial acquaintance with Boost on Windows start to build precompiled libraries and connecting them to the project on Qt. This code will use one of the Hello World-s from the Boost documentation, namely the installation locale using boost.
Building Boost …
- Last comments
- AKApril 1, 2025, 11:41 a.m.Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
- VPMarch 9, 2025, 4:14 p.m.Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
- ИМNov. 22, 2024, 9:51 p.m.Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
- Now discuss on the forum
- МАApril 1, 2025, 4:21 p.m.0ff763fe-4e50-455d-a3a6-5699c243b1a5_17_44_22_1.xml
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…