This repository has been archived on 2023-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
VSMechatronics/C20/FormattingDirective/formatting_directive_example.c

15 lines
229 B
C
Raw Normal View History

2022-04-08 15:12:38 +00:00
#include <stdio.h>
#include <conio.h>
//#define DEBUG_ON 0
2022-04-08 15:12:38 +00:00
int main(void)
{
#ifdef DEBUG_ON
printf("Debug mode - about to do something\n");
#else
printf("Running in standard mode");
2022-04-08 15:12:38 +00:00
#endif
return 0;
}