C - GauravWalia19/RAINBOW GitHub Wiki
git clone https://github.com/GauravWalia19/RAINBOW.git
cd ~
cd Downloads
cd RAINBOW-master || cd RAINBOW
cd src/C
bash c.sh
4. If U want to use in your code than create a file with extension of c (hello.c) there. Write the code given below
Terminal
touch hello.c
Open file hello.c in Text Editor and write code given below:
#include "rainbow.h" //including rainbow
#include <stdio.h>
int main()
{
printf("%sThis is a green color",GREEN); //this will print green color text
}
gcc hello.c -o hello
./hello