wiseio / paratext

A library for reading text files over multiple cores.
Apache License 2.0
1.06k stars 103 forks source link

try thread_local on temporary string when doing map lookups #74

Open tiagokapp opened 5 years ago

tiagokapp commented 5 years ago

include

int contador (int x, int y){

if (x<=y){

    return contador (x+1, y);
    printf("%d os valores ",x);

}

}

int main (){

int f,c, resultado;
printf("digite o começo");
scanf("%d",&c);

printf("digite o final");
scanf("%d", &f);

contador(c,f);
resultado = contador (c,f);

//printf("%d", resultado);

}

tiagokapp commented 5 years ago

Contador recursivo para somar valores anteriores a um determinado número