21 lines
362 B
Plaintext
21 lines
362 B
Plaintext
+ libcolor
|
|
|
|
A library to style programs with command-line interaction.
|
|
|
|
+ Usage
|
|
|
|
#include <color.h>
|
|
#include <stdio.h>
|
|
|
|
int
|
|
main()
|
|
{
|
|
printf(COL_RED "red\n" COL_RESET);
|
|
printf(COL_BLUE "blue\n" COL_RESET);
|
|
printf(COL_GREEB "green\n" COL_RESET);
|
|
}
|
|
|
|
+ Installation
|
|
|
|
Run 'make install' to install the header file. It will install info $(PREFIX)/include.
|