Is C++ Still Worth Learning?
Is C++ worth learning these days when web applications and web services are eating the world? Yes! Find out why here.
Is C++ worth learning these days when web applications and web services are eating the world? Yes! Find out why here.
I’ve written a post on how to use lambdas in C++ but how do they actually work? Here is an under the hood description of C++ lambdas.
What is a lambda? And how do you use one in C++? This post explains what lambdas are, what they’re used for, and how to use lambdas in C++.
Don’t understand how your code or a library works? Writing unit tests lets you experiment and learn how the code works.
If you get Visual Studio 2019 Warning C4296 in your C++ project on a line comparing a size_t >= 0 it’s valid. Here’s why: size_t is unsigned.
If you’re using Conan with CMake to build the build system for your C++ project how do you get it to find Boost? Use cmake_find_modular. And RTFM!
When creating a C++ project with CMake that requires C++11, I found that setting the variable CMAKE_CXX_STANDARD must happen before add_executable to work.
If C++ code has exceptions derived from std::exception and a logging function that takes a std::exception the sub-class can’t be re-thrown. Here’s why.
This post shows how to use the date library maintained by Howard Hinnant to do simple formatting on a date string. It turns out to be surprisingly easy!
Recently, I had a project which needed to hold a date with the following properties: Hold the year, month, and day Take a C string (char*) in the format “YYYYMMDD” Do some basic validation and assumption fixing (disallow blank & empty input) Produce a string in a specified format for JSON output My extensive experience…
Read more