-
Notifications
You must be signed in to change notification settings - Fork 0
Gaurav Walia edited this page Sep 9, 2018
·
3 revisions
git clone https://github.com/GauravWalia19/RAINBOW.git
cd ~
cd Downloads
cd RAINBOW-master || cd RAINBOW
cd src/C-C++
bash c.sh
3. 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"
#include <stdio.h>
int main()
{
printf("%sThis is a green color",GREEN); //this will print green color text
}
gcc hello.c -o hello
./hello