
Voila, ce matin je m’ennuyais , alors je vous poste un petit tableau ascii fait en perl:
#!/usr/bin/perl#//////////////////////////////////////////////////////////////////////////////////////////////////////////////
# American Standard Code for Information Interchange Table //
# By neontrax //
#//////////////////////////////////////////////////////////////////////////////////////////////////////////////print "////////////////////////////////////////////////////////////////////\n";
print "// American Standard Code for Information Interchange Table //\n";
print "////////////////////////////////////////////////////////////////////\n";
$ascii=33;
for($i=33; $i<127; $i++ )
{$hexa=hex($i);
$code=chr($ascii);
print "\t------------------------------------------------------\n";
print "\t|Décimal:$i | Hexadécimal:$hexa | Caractère:$code | \n ";
$ascii++;
}
print "\t------------------------------------------------------\n";c
Laisser un commentaire
Pas encore de commentaires.
Syndication RSS Identifiant URI du rétrolien
