20 lines
519 B
C++
20 lines
519 B
C++
#include <stdio.h>
|
|
#include <iostream>
|
|
#include <unistd.h>
|
|
#include <pipecolors.h>
|
|
|
|
using namespace pipecolors;
|
|
|
|
int main(void) {
|
|
|
|
const char* str = "|0101|0202|0303|0404|0505|0606|0707|0808|0909|1010|1111|1212|1313|1414|1515|07";
|
|
const char* name = "|01P|02i|03p|04e|05c|06ol|07o|08r|09s |10l|11i|12b|13r|14a|15r|14y |130|12.|111|07";
|
|
|
|
pcprintf("\n%s\n\n", name);
|
|
pcprintf("%s\n", str);
|
|
int size = pcprintf("%s", str);
|
|
std::cout << std::endl << "Size : " << size << std::endl;
|
|
return 0;
|
|
|
|
}
|