Skip to content

Instantly share code, notes, and snippets.

@msmoiz
Created April 9, 2021 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msmoiz/9a5c3609619730b7da298f723710d0a9 to your computer and use it in GitHub Desktop.
Save msmoiz/9a5c3609619730b7da298f723710d0a9 to your computer and use it in GitHub Desktop.
C++ Command Line Compilation Demo Source
#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