Skip to content

Instantly share code, notes, and snippets.

View justinline's full-sized avatar
🌈

Justin Focus justinline

🌈
View GitHub Profile
@justinline
justinline / my_strtoi.c
Created May 22, 2017 22:25
Own implementation of strtoi for an array of characters
#include <stdio.h>
typedef enum { false, true} bool;
int my_strtoi(char* s, int base);
int concatenate(unsigned int x, unsigned int y, unsigned int pow);
int main(int argc, char* argv[])
{
my_strtoi(argv[1], 10);
}