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/formatting_directive_example.c
2022-04-08 16:12:38 +01:00

15 lines
228 B
C

#include <stdio.h>
#include <conio.h>
#define DEBUG_ON 1
int main(void)
{
#ifdef DEBUG_ON
printf("Debug mode - about to do something\n");
#else
print("Running in standard mode");
#endif
return 0;
}