Skip to content

Instantly share code, notes, and snippets.

@zealic
Last active January 22, 2017 14:10
Show Gist options
  • Save zealic/0e1f129761c7d27b40b4 to your computer and use it in GitHub Desktop.
Save zealic/0e1f129761c7d27b40b4 to your computer and use it in GitHub Desktop.
For my love
// Copyright 2016 Zealic
// gcc -std=c99 -o love-letter love-letter.c && ./love-letter
#include <stdio.h>
#include <time.h>
#define UNTIL(n) ((rand() %('U'+1-'I'))+'I')!= 'U'
#define THOSE_DAY_ARE_GONE(x) srand(time(NULL));
#define SAY(u) printf ( "\u2764 %s\n" , u);
#include /* You into my life */<stdlib.h>
#define/* Great ❤ Romance */ BEGIN {
#define DESTINY int main()
#define FOREVER(x) while(x);
#define SCENARIO(n) do
#define ENDLESS }
#define HEAVEN 0;
#define I 1;/*
# LOVE #
# U! #
৻*/
DESTINY BEGIN
SCENARIO("Every day without you") BEGIN
I SAY("I am lonely lonely in my life...")
ENDLESS FOREVER(UNTIL(I SAY("That time hotpot")))
THOSE_DAY_ARE_GONE()
UNTIL(2015 * "final");
SCENARIO("Nice to meet Erin") BEGIN
I SAY("You make my heartbeat so faster!")
ENDLESS FOREVER(UNTIL("Loving Nie."))
SCENARIO("At my side in every day") BEGIN
I SAY("Lovely girl, Can I invite you to dinner tonight?")
ENDLESS FOREVER(UNTIL("You may be the world."))
SCENARIO("I wanna to marry you") BEGIN
I SAY("Marry me!")
ENDLESS FOREVER(UNTIL("I will be die."))
SCENARIO("At LAST") BEGIN
I SAY("I LOVE YOU!")
ENDLESS FOREVER(UNTIL(I SAY("Goodbye my love.")))
return HEAVEN
ENDLESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment