Krolyxon
Commit f94f903

Branches

Refs →

trossrcutils.h

19 lines · 531 B · Objective-C

1#include <stdio.h>
2
3#define MAX_LEN 128
4#define BAR "────────────────────────────────\n"
5
6// COLORS
7#define COLOR_RED "\x1b[31m"
8#define COLOR_GREEN "\x1b[32m"
9#define COLOR_YELLOW "\x1b[33m"
10#define COLOR_BLUE "\x1b[34m"
11#define COLOR_MAGENTA "\x1b[35m"
12#define COLOR_CYAN "\x1b[36m"
13#define COLOR_RESET "\x1b[0m"
14#define COLOR_BOLD "\e[1m"
15#define COLOR_OFF "\e[m"
16
17void printarr(int a[], int n);
18void print_ascii(char *filename);
19void swap(int a[], int i, int j);