Matthias recevant son 3e Kyū de Kempō
Un Livre Médiéval avec des Enluminures
long ratoi(const char* string) { if (NULL!=string) { const char c = *string ; const char *tail = ++string ; if ('-' == c) { return -1 * ratoi(tail) ; } else if (('+' == c) || isspace(c)) { return ratoi(tail); } else if (isdigit(c)) { long value = c - '0' ; if (isdigit(*(tail))) { // rest of string is number const long recurse = ratoi(tail) ; const int digits = (int) log10((double) recurse) ; // we shift to match the tail's result for(int i=0;i