Skip to content

Instantly share code, notes, and snippets.

View spidey's full-sized avatar
:octocat:
Happy to help!

spidey spidey

:octocat:
Happy to help!
  • Adyen
  • Amsterdam - Netherlands
View GitHub Profile
#include <stdio.h>
#include <unistd.h>
void ft_putchar(char c)
{
write(1, &c, 1);
}
int ft_strlen(char *s)
{
#include <unistd.h>
#include <stdlib.h>
/*
* board indexes
*
* 00 01 02 03
* 04 05 06 07
* 08 09 10 11
* 12 13 14 15
@spidey
spidey / box.c
Created July 10, 2022 09:43
Box print
#include <unistd.h>
void ft_putchar(char c);
void box(int rows, int cols);
int main() {
box(10, 20);
return 0;
}