Dark26 Posted February 6, 2004 Share Posted February 6, 2004 parce que je voudreit faire un test style spérieur à , et forcément avec des chaines de caratères ça marche pas.... Link to comment Share on other sites More sharing options...
Dark26 Posted February 6, 2004 Author Share Posted February 6, 2004 bon j'ai trouvé donc pas de problème Link to comment Share on other sites More sharing options...
BlipBlop Posted February 6, 2004 Share Posted February 6, 2004 La solution? ca pourra toujours interesser quelqu'un non? Enfin je dis ca, mais faut encore se servir de la fonction recherche... Link to comment Share on other sites More sharing options...
tuXXX Posted February 9, 2004 Share Posted February 9, 2004 il y a une fonction : int atoi(const char * str); dans le stdlib.h ... Link to comment Share on other sites More sharing options...
Atlantis Posted February 9, 2004 Share Posted February 9, 2004 'tin maxi simple la fn Link to comment Share on other sites More sharing options...
tuXXX Posted February 10, 2004 Share Posted February 10, 2004 oops désolé ... javais pas vu que c'était pas du C ... hum hum il faut mettre entre doubles parenthèses en bash ... genre : i=5 j=4 echo "i=$i" echo "j=$j" if (($i > $j)) then echo 'vrai' else echo 'faux' fi et ça retourne : i=5 j=4 vrai voilà voilà ... Link to comment Share on other sites More sharing options...
Dark26 Posted February 11, 2004 Author Share Posted February 11, 2004 non en fait ça se débrouille tout seul et ça converti à la demande trop fort Link to comment Share on other sites More sharing options...
joris Posted February 16, 2004 Share Posted February 16, 2004 y'a un HOWTO sur la prog en bash vachement bien (en anglais, la traduction FR est en cours normalement) ça se trouve ici http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html @+ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.