Skip to content

Instantly share code, notes, and snippets.

@agrison
Created May 16, 2018 07:21
Show Gist options
  • Save agrison/283528f27fa096e1ab5c889bc373de4c to your computer and use it in GitHub Desktop.
Save agrison/283528f27fa096e1ab5c889bc373de4c to your computer and use it in GitHub Desktop.
grid
#define GRID "\t\t+-------+-------+-------+\n" \
"\t\t| | | |\n" \
"\t\t| %s | %s | %s |\n" \
"\t\t| 1| 2| 3|\n" \
"\t\t+-------+-------+-------+\n" \
"\t\t| | | |\n" \
"\t\t| %s | %s | %s |\n" \
"\t\t| 4| 5| 6|\n" \
"\t\t+-------+-------+-------+\n" \
"\t\t| | | |\n" \
"\t\t| %s | %s | %s |\n" \
"\t\t| 7| 8| 9|\n" \
"\t\t+-------+-------+-------+\n\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment