Retourner au contenu associé (dépêche : Le langage D)
Posté par Jonathan MERCIER le 09 juin 2012 à 18:33. En réponse à la dépêche Le langage D. Évalué à 2. Dernière modification le 09 juin 2012 à 18:34.
import std.stdio; import std.array; void main ( string[] args){ if( args.length == 2 ) writefln("Bonjour: %s", args[1] ); else if ( args.length > 2 ) writefln("Bonjour: %s", args[1..$].join(", ") ); else writefln("Bonjour" ); }
$ ./t Bonjour $ ./t jean paul eric Bonjour: jean, paul, eric
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Je cherche à comprendre
Posté par Jonathan MERCIER . En réponse à la dépêche Le langage D. Évalué à 2. Dernière modification le 09 juin 2012 à 18:34.