Skip to content

Instantly share code, notes, and snippets.

View AlphaTechnolog's full-sized avatar

Franklin Gabriel Guerra AlphaTechnolog

View GitHub Profile
@AlphaTechnolog
AlphaTechnolog / color_output.c
Created October 14, 2024 19:01 — forked from radxene/color_output.c
Colored output in C
/**
* For compiling program run:
* gcc -std=c99 color_output.c -o color_output.run
*/
#include <stdio.h>
#define ANSI_RESET_ALL "\x1b[0m"
#define ANSI_COLOR_BLACK "\x1b[30m"
#define ANSI_COLOR_RED "\x1b[31m"