Skip to content

dragonis41/cppTermColor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cppTermColor

With this simple library you can make colored text or background in a terminal in c++

example:

#include <iostream>
#include "color.h"
  
int main()
{
  //this code will display " hello" in red, " it's me" in light green and background in blue
  printf("%s hello%s it\'s me%s\n", RED, LGREEN, BGBLUE);
}

or

#include <iostream>
#include "color.h"

int main()
{
  //this code is used to display the text "HELLO" blinking in red with black background
  printf("%s%s HELLO %s\n", BLINK, RED, BGBLACK);
}

About

allow to make easy colored text in terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages