D

@dpascal

first_word

C
2 years ago
#include <unistd.h> int main(int ac, char **av) { int i; i = 0; if (ac == 2) { while (av[1][i] == ' ' || av[1][i] == '\t')

itoa

C
2 years ago
#include <stdlib.h> int number_len(int nb) { int i; i = 0; if (nb < 0) { nb = nb * -1;

inter_simple

C
2 years ago
#include <unistd.h> void ft_putchar(char c) { static char tab[255]; int i; i = 0; while (tab[i]) {

union_simple

C
2 years ago
#include <unistd.h> void ft_putchar(char c) { static char tab[255]; int i; i = 0; while (tab[i]) {

repeat_alpha

C
2 years ago
#include <unistd.h> #include <stdio.h> void ft_putchar(char c) { write(1, &c, 1); } void repeat_alpha(char *str) {

union

C
2 years ago
#include <unistd.h> int ft_check1(char *str, char c, int pos) { int i; i = 0; while (i < pos) { if (c == str[i])

inter

C
2 years ago
#include <unistd.h> int check_doubles(char *str, char c, int pos) { int i; i = 0; while (i < pos) { if (str[i] == c)

ft_count_word

C
2 years ago
#include <unistd.h> int ft_count_word(char *str) { int word; int inter; int i; i = 0; word = 0;

repeat_alpha

C
2 years ago
#include <unistd.h> #include <stdio.h> void ft_putchar(char c) { write(1, &c, 1); } void repeat_alpha(char *str) {

vrai ft_atoi

C
2 years ago
#include <stdio.h> int ft_atoi(char *str) { int i; int sign; int result; int count; i = 0;

alpha_mirror

C
2 years ago
#include <unistd.h> int main(int argc, char **argv) { int i; if (argc == 2) { i = 0;

ft_print_even

C
2 years ago
#include <unistd.h> void ft_print_even(char *str) { int i; i = 0; while (str[i]) { if (i % 2 == 0)

ft_strjoin

C
2 years ago
#include <stdlib.h> char *ft_strcat(char *dest, char *src) { int i; int j; i = 0; j = 0; while (dest[i])

wdmatch

C
2 years ago
#include <unistd.h> void ft_putstr(char *str) { int i; i = 0; while (str[i]) { write(1, &str[i], 1);

last_word

C
2 years ago
#include <unistd.h> void last_word(char *str) { int j; int i; i = 0; j = 0; while (str[i])

ft_fizzbuzz

C
2 years ago
#include <unistd.h> #include <stdio.h> void ft_putchar(char c) { write(1, &c, 1); } void ft_putstr(char *str) {

ft_ultimate_range

C
2 years ago
#include <stdlib.h> #include <stdio.h> int ft_ultimate_range(int **range, int min, int max) { int i; if (min >= max) { *range = NULL;

ft_range

C
2 years ago
#include <stdlib.h> #include <stdio.h> int *ft_range(int min, int max) { int *tab; int i; tab = 0; if (min >= max)

ft_strdup

C
2 years ago
#include <stdio.h> #include <stdlib.h> int ft_strlen(char *str) { int len; len = 0; while (str[len]) {

ft_rev_params

C
2 years ago
#include <unistd.h> int main(int argc, char **argv) { int i; i = 0; argc--; while (argc > 0) {