Adventures in Obscure C Features

by SuperPaintManon 2/13/20, 11:44 AMwith 1 comments
by not2bon 2/14/20, 3:28 AM

I have used pretty much the same trick of multiple inclusion to create an extensible options mechanism. That is pretty much the only thing I will use the C preprocessor for anymore, where stringification or token pasting is needed (like defining enums in string form or code form).