Ciao,son di nuovo qua, ora volevo sottoporvi un altro problema.
codice:try{ BufferedWriter scriba = new BufferedWriter(new FileWriter("Log.txt",true)); scriba.write("testo1"); scriba.write("\n"); scriba.write("testo2"); scriba.close(); }catch (IOException e) { System.out.println("Errore: " + e); System.exit(1); }
Penserei che nel file dovrebbe scrivermi testo1 e a capo testo2 invece mi scrive testo1testo2; non so come fare Q_Q

Rispondi quotando
