Bonjour,
Mon programme me semble correct mais prob de compilation
sur la ligne System.in.read ( buf , O, 64);
et FileOutputStream out = new FileOutputStream (“Agenda.txt”);
si vous voyer le prob???
public class Agenda {
public static void main (String args[]) {
byte[] buf = new byte[64];
try
{
System.in.read (buf, O, 64);
}
catch (Exception e)
{
System.out.println ("Erreur:"+e.toString());
}
try
{
FileOutputStream out = new FileOutputStream ("Agenda.txt");
out.write(buf);
}
catch (Exception e)
{
System.out.println ("Erreur:"+e.toString());
}
}
}