C is what God programmed our universe in. Post your C appreciation, hints, tips, & tricks itt
When Bjarne Stroustrup used to talk about the free-store I always thought new was overloaded to just use malloc. Then I discovered the main difference between new and malloc(): the C function doesn't set up C++ virtual tables so you get a read violation
here's a neat trick for detecting big endian system
Code:
const union { long one; char little; } is_endian = {1};
if (!is_endian.little)
SELECT finger FROM hand WHERE id = 3