| |||||
| Dernière réponse | |
|---|---|
| Sujet : [Java] lire un fichier | |
| Roswell_ | String file=new String("fichier" );
FileInputStream flux=new FileInputStream(file); int ch=flux.read();// pour lire le prochain octet du flux String fileOut=new String("fichier2" ); FileOutputStream fluxOut=new FileOutputStream(fileOut); fluxOut.write(ch); |
| Vue Rapide de la discussion |
|---|