libpipecolors/examples/example2.cpp

14 lines
242 B
C++
Raw Normal View History

2015-07-06 15:29:41 -07:00
#include <cstdio>
#include <iostream>
#include <pipecolors.h>
using namespace pipecolors;
int main(void) {
int num = 5;
const char* str = "My number is";
2015-07-06 15:33:30 -07:00
pcprintf("|40%s |05%d|39\n", str, num);
2015-07-06 15:29:41 -07:00
return 0;
}