Changes to file structure for VSCode and bug fixes
This commit is contained in:
18
C19/DefineExamples/define_example.c
Normal file
18
C19/DefineExamples/define_example.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#define UP 1
|
||||
#define DOWN 2
|
||||
|
||||
int main()
|
||||
{
|
||||
int i = 1;
|
||||
|
||||
if (i == UP )
|
||||
{
|
||||
// Do something
|
||||
}
|
||||
|
||||
if ( i == DOWN)
|
||||
{
|
||||
// Doe something else
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user