Browse

C

C Hacking: Polymorphing 2

Dec 2, 2015 12:00AM
A C technique for simulating polymorphism through shared struct layout, typedefs, and function pointers.

Poor Man's Polymorphism

Nov 30, 2012 12:00AM
A small C example showing how matching struct layout can mimic a rough form of polymorphism.

C Sqlite Tricks

May 15, 2012 12:00AM
A look at simple C data-mapping patterns for CRUD-style SQLite access without a heavy abstraction layer.