Last active
January 4, 2019 02:06
-
-
Save 1nnOc3nt/1d76b74941ed2ab5ea01b2befe0ebf19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define pi 3.14 | |
#ifdef __unix__ /* __unix__ is usually defined by compilers targeting Unix systems */ | |
printf("using linux"); | |
#elif defined _WIN32 /* _WIN32 is usually defined by compilers targeting 32 or 64 bit Windows systems */ | |
printf("using windows"); | |
#endif | |
int main(int argc, char const *argv[]) | |
{ | |
printf("Hello World!\nThis is pi number: %2f", pi); //This is a comment | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment