Tag: C++
Array decay to pointers, and address of operator (dereference) behavior.
cc++05 January, 2026Time to read: 1 minsArray decay to pointers, and address of operator (dereference) behavior.
C++ Why we add parenthesis around assignments in if statements
cc++05 January, 2026Time to read: 1 minsC++ Why we add parenthesis around assignments in if statements
Expressions become statements if you add a semicolon at the end of them (K&R C book)
cc++05 January, 2026Time to read: 1 minsTwo things I found interesting and wrote down while reading the K&R C book (The C Programming Language by Ritchie & Kernighan), back in May 2024.
vcpkg list dependencies from the manifest (vcpkg.json), not global dependencies.
cc++03 January, 2026Time to read: 1 minsHow to list vcpkg dependencies from the vcpkg.json manifest.
C++ constructor/destructor order
c++27 December, 2025Time to read: 1 minsExplains the order in which constructors and destructors are called for base classes, derived classes, and member variables.