pcboy
public c v1 · immutableint my_strlen(char *str){ int compteur; int diviseur; diviseur = 10; compteur = 0; while ( *str != '\0') { compteur++; str++; } if ((compteur / 100) != 0) { my_putchar('0' + (compteur / 100 )); } if (((compteur / 10 ) % 10) != 0) { my_putchar('0' + (compteur / 10 ) % 10); } my_putchar('0' + (compteur / 1 ) % 10);}