Unit testing in C: a tutorial with AcuTest
I would like to give you a short tutorial on unit testing with AcuTest as the driving example. We go from initial examples to a more detailed understanding. AcuTest is one of many light-weight minimal

Search for a command to run...
Articles tagged with #cpp
I would like to give you a short tutorial on unit testing with AcuTest as the driving example. We go from initial examples to a more detailed understanding. AcuTest is one of many light-weight minimal

The C programming language adopts the IEEE 754 floating-point arithmetic. This includes the representation of non-finite floating-point values: on the one hand, there are positive and negative infinit

Functions such as printf have been a hallmark of C. These variadic functions accept a variable number of arguments as input and convert them into a character sequence according to a format string. For example: int temperature = 20; // ... possibly re...

The printf function in C is known for its technical syntax and error proneness. This is shared by its numerous variants, such as snprintf or vsprintf. This article will discuss how your C compiler, GCC or Clang, can help you mitigate these difficulti...

I would like to write about unreachable code in C and C++ and about the pertinent compiler warnings in this context. Sometimes, entire blocks of our C or C++ source codes are unintentionally cut off from the control flow. Consider the following demon...

We further discuss how to remove duplicates from a C++ container. A previous article discusses the removal of duplicates from random access containers. But not every container supports random access; more precisely, not every container supports rando...
