salut,
j'ai une erreur que je n'est pas compris
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
public class creertab02 {

public creertab02() {
}
       public String[][] x ;
       x=new String[100][100];
		
		 try {
			   FileInputStream ips=new FileInputStream("./EXCHO00.csv");
			   InputStreamReader ipsr=new InputStreamReader(ips);
			   BufferedReader br=new BufferedReader(ipsr);
			   String ligne;
			   int y = 0;
			   
			   while ((ligne=br.readLine())!=null ) {
							   
			    String text = ligne;
			  
		    	x[y]=text.split(",");
			   	    		    
			    for (int i=0;i< (x[y].length-2);i++){
				System.out.println(x[y][i]);
			    }
			  //  System.out.println("nouvelle ligne ");
			    y++;
			    }

			   br.close();
			  }
			  catch (Exception e) {
			   System.out.println(e.toString());
			  } 
			 
}
c'est au niveau du ";" qui est en rouge