aboutsummaryrefslogtreecommitdiff
path: root/test.c
blob: 1bf5e4ff45452c5bd52f0c94a59f7bfe8e64ce29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

void print(char* x) {
    printf("%s", x);
}
void printfl(float x) {
    printf("%f", x);
}
void printdeez(int x) {
    printf("%d", x);
}

int as_int(float x) {
    return (int) x;
}

void termpos(int x, int y) {
    printf("\x1b[%d;%dH", x, y);
}