Thread pools are a very important concept in achieving concurrency in C++. In this post, we look at how to write a simple thread pool using thread safe queues!
Computers, Coding and Caffeine
Thread pools are a very important concept in achieving concurrency in C++. In this post, we look at how to write a simple thread pool using thread safe queues!
In CMake, setting the C++ standard is essential to use the latest features of the language. In this post, we achieve this by setting CMake global variables.
“std::transform” helps to convert containers in C++. In this post, we look at the usage & examples for transforming elements in your vectors into other types!
Including static files in your C++ code can be cumbersome. However, converting any binary file to hexadecimal arrays is easy with the “xxd” terminal command.
Writing and managing tests for C++ projects can be difficult. Luckily, CMake’s ctest & add_test helps you manage all of your tests in one place. Find out more!
Creating the first C++ program using CMake requires knowing add_executable(…). In this post, we explain all CMake modes and parameters for this command!
VSCode is one of the best C++ IDEs. In this post, you will learn how to debug your Linux C++ / CMake projects on WSL using VSCode’s launch configurations.
Google Test is the most popular testing framework for C++. In this post, you will learn how to integrate GTest into your CMake project in three different ways!
Fancy learning how to Base64 encode with modern C++? Learn how to implement an easy Base64 encoder and decoder using cutting-edge features of the Cpp standard.