Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(etat == 5){
- max = 1000;
- printf("max:%i \n", max);
- int ** histoTempo = malloc(sizeof(int*)*2);
- histoTempo[0] = malloc(sizeof(int)* max);
- histoTempo[1] = malloc(sizeof(int)* max);
- histoTempo[0][0] = (int)strtol(val, NULL, 0);
- histoTempo[1][1] = 32;
- histoTempo[1][222] = 35;
- cpt = 0;
- etat = 51;
- canswitch = 0;
- }
- if(etat == 51 && canswitch){
- printf("etat: %i, lu: %s, cpt: %i\n", etat, val,cpt);
- fflush(stdin);
- test = (int) atoi(val);
- histoTempo[1][222] = test;
- etat = 52;
- canswitch = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment