This commit is contained in:
= 2015-07-14 17:48:08 -07:00
parent 7be48f5117
commit 6cfa8a316a
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ int main(void) {
int num = 5;
const char* str = "My number is";
const char* str2 = "|10My number is|07";
int len = pcprintf("|01%s |09%d|39\n", str, num);
int len = pcprintf("|01%s |41|09%d|39\n", str, num);
pcprintf("|10Length of Len is : |15|30%d\n|07", len);
int len2 = pcsprintf(buffer, "%s %d\n", str2, num);
printf("\n%s %d\n", buffer, len2);

View File

@ -89,8 +89,10 @@ namespace pipecolors {
end = s.end();
std::string len(s);
colorMap colors = getColors();
while(regex_search(start, end, match, re, flags))
{