I want to print output if OUT is 1. So i think that code.
#define OUT 1
void d_printf(char *text){
if(OUT)
printf("%s", text);
}
int main(void){
d_printf("%d\n", 5);
return 0;
}
But my parametre is char*, i can't send %d, 5. How can i solve this?