Tag: C++

Taylor Built Solutions Logo

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.

Taylor Built Solutions Logo

Understand Your Code Better By Experimenting With Unit Tests

Don’t understand how your code or a library works? Writing unit tests lets you experiment and learn how the code works.

Taylor Built Solutions Logo

Visual Studio 2019 Warning C4296 – Comparing std::size_t >= 0 Is Always True

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.

Taylor Built Solutions Logo

Another New Adventure

My business and family are embarking on a new adventure. We are moving to Sacramento for a new full time position! Taylor Built Solutions will remain open!

Taylor Built Solutions Logo

CMake and C++11 on MacOS – Set your variables before creating your target

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.

Taylor Built Solutions Logo

Throwing C++ Polymorphic Exceptions

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.

Taylor Built Solutions Logo

C++ Date Silliness Update

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!

Taylor Built Solutions Logo

C++ Date Type Silliness

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

Taylor Built Solutions Logo

Convincing a Team to Start Unit Testing

This post in my unit testing series addresses the benefits of unit testing in general and in specific to the roles of Project Management, Developers, and QA.

Taylor Built Solutions Logo

Tools for Unit Testing a C Code Base

Googletest and Fake Function Framework are the tools that I chose to use to unit test a C code base. Here I talk about why I chose them.