2015-07-01 07:44:53 -07:00
|
|
|
#include <stdio.h>
|
2015-07-01 15:17:12 -07:00
|
|
|
#include <unistd.h>
|
|
|
|
#include <pipecolors.h>
|
2015-07-02 12:52:49 -07:00
|
|
|
#define printf cprintf
|
|
|
|
|
|
|
|
using namespace pipecolors;
|
2015-07-01 07:44:53 -07:00
|
|
|
|
|
|
|
int main(void) {
|
|
|
|
|
2015-07-01 15:17:12 -07:00
|
|
|
const char* str = "|0101|0202|0303|0404|0505|0606|0707|0808|0909|1010|1111|1212|1313|1414|1515|07";
|
2015-07-01 09:17:08 -07:00
|
|
|
const char* name = "|01P|02i|03p|04e|05c|06ol|07o|08r|09s |10l|11i|12b|13r|14a|15r|14y |130|12.|111|07";
|
2015-07-01 07:44:53 -07:00
|
|
|
|
|
|
|
cprintf("\n%s\n\n", name);
|
|
|
|
cprintf("%s\n", str);
|
2015-07-01 15:17:12 -07:00
|
|
|
if( isatty(fileno(stdout)) ) {
|
2015-07-02 12:52:49 -07:00
|
|
|
printf("Awesome!");
|
2015-07-01 15:17:12 -07:00
|
|
|
}
|
2015-07-01 07:44:53 -07:00
|
|
|
}
|