[C question] Best way to change features of the program at compile time: #if((n)def) or if (const)? (kbin.social) Suppose that I have two features in my C program, feature foo and feature bar. I wish to be able to switch what features will be compiled into my program at compile time. The only two ways I know of doing this are:...
[C question] Best way to change features of the program at compile time: #if((n)def) or if (const)? (kbin.social)
Suppose that I have two features in my C program, feature foo and feature bar. I wish to be able to switch what features will be compiled into my program at compile time. The only two ways I know of doing this are:...