legeek@anubis /home/geek/ncurses $ cat plop.c #include main() { int arret=0; int h=0; int m=0; int s=0; while(arret<1) /** arret est a affecter au moment ou tu veux **/ { if(s==59) { s=0; if(m==59) { m=0; if(h==23) { h=0; }else { h++; } }else { m++; } }else { s++; } printf("chrono %d : %d : %d\n",h,m,s); sleep(1); system("clear"); /** C'est moche. oriente toi vers du ncurses **/ } }