PinnedPaul J. LucasUndefined Behavior in C and C++What undefined behavior is, why it exists, and how to avoid it.Aug 31, 20231Aug 31, 20231
Paul J. LucasEverything You Ever Wanted to Know about SundialsA programmer’s nerdy interest in sundials.3d ago13d ago1
Paul J. LucasCasting to the Same-Sized Unsigned TypeGiven an integral expression, how to cast it to an unsigned type of the same size.Jul 10Jul 10
Paul J. LucasVariadic Functions in C++How to declare and implement functions with a variable number of parameters in C++.May 7May 7
Paul J. LucasVariadic Functions in CHow to declare and implement functions with a variable number of parameters in C.Apr 28Apr 28
Paul J. LucasDeclaring Multiple Variables in a “for” Loop Initialization ClauseHow to declare multiple variables in a for-loop initialization clause.Mar 13Mar 13
Paul J. LucasSoftware Career AdviceAfter tinkering with computers for 45 years, here’s my advice for a career in software development.Feb 6Feb 6
Paul J. LucasUnions & std::variant in C++A description of unions in C++, their uses, how they differ from unions in C, and std::variant, C++’s type-safe alternative.Feb 4Feb 4