I'm not following you on this one. The only thing you gain from not using a macro is a smaller executable. You will always have more "runtime overhead" (for lack of a better term) when adding function call than not adding more:VSCode:void foo( void ) { printf(" ... "); system( "pause" ); } ... stuff... foo( ); /* 1 */ /* 2, the printf */ /* 3, the system */
You don't end up with less overhead by adding function calls. The only thing you "lose" is ending up with a larger executable.Code:stuff... printf... /* 1 */ system... /* 2 */
Quzah.