C - GauravWalia19/RAINBOW GitHub Wiki
git clone https://github.com/GauravWalia19/RAINBOW.gitcd ~
cd Downloads
cd RAINBOW-master || cd RAINBOW
cd src/Cbash c.sh4. 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.cOpen 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