monstor_rox
Messages postés18Date d'inscriptionmardi 31 mai 2005StatutMembreDernière intervention15 janvier 2007
-
7 juin 2005 à 11:01
monstor_rox
Messages postés18Date d'inscriptionmardi 31 mai 2005StatutMembreDernière intervention15 janvier 2007
-
7 juin 2005 à 11:18
Bonjour
je voudrai savoir comment passer un tableau de caractère en string
string chaine;
try
{
BufferedReader Fichier2 = new BufferedReader(new FileReader(f));
for (int i=1 ; i<3 ; i++) {
ligne = Fichier2.readLine();
}
char[] t = new char[ligne.length()];
for (int i = 0; i < ligne.length(); i++) {
t[i] = ligne.charAt(i);
}
chaine =???
}
catch(IOException ioe){System.out.println("erreur : " + ioe );}