All pastes #202203 Raw Edit

Someone

public text v1 · immutable
#202203 ·published 2006-10-14 05:28 UTC
rendered paste body
#include <stdio.h>
#include <string.h>

main(int argc, char *argv){

int i;
int positionC;
int positionL;
        for(i=0;i<argc;i++){  //Trouver la position de -L et de -C
                if(strcmp(argv[i],"-C")) positionC=i;
                if(strcmp(argv[i],"-L")) {positionL=i;break;}
        }

        if(positionC!=0) puts(positionC);

}