Strong types and C. Possible and Even Better than C++.

ucrt problems

You are a software developer. The feature image above is not strange. It is a shredded glass on particular path you have chosen. You are first-time reading two header files of two phone book components. Your task is to select and use one.

A

B

Which one is better and why? Continue reading “Strong types and C. Possible and Even Better than C++.”

C++ Macros with variable number of arguments

C++ Macros with a variable number of arguments, or even worse sounding “Variadic Macro’s“.

Why would anybody need this? Like C++ is not “hard enough” already, one might exclaim? Well. standard C/C++ is not hard.  But to learn anything properly, good examples are priceless. Here is one good example.

(Working code example)

Continue reading “C++ Macros with variable number of arguments”