Created
April 9, 2021 21:56
-
-
Save msmoiz/9a5c3609619730b7da298f723710d0a9 to your computer and use it in GitHub Desktop.
C++ Command Line Compilation Demo Source
This file contains 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 <iostream> | |
#define GOODBYE std::cout << "Goodbye World!" << std::endl; | |
int main() | |
{ | |
std::cout << "Hello World!" << std::endl; | |
GOODBYE; | |
#ifdef KIDDING | |
std::cout << "Just kidding!" << std::endl; | |
#endif | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment