Re: Java code problem ...

From: Stephan Wehner (google_at_conxns.net)
Date: 06/01/04


Date: 31 May 2004 17:29:37 -0700

Below you can see changes that make your code compile.
(Still might not work after that of course)

Good luck.

Stephan

______________________
Stephan Wehner
Editor, Traffic Life: Passionate Tales and Exit Strategies
www.trafficlife.com

2c2
< import java.awt.*;

---
> import java.awt.Color;
20c20
<         double tab[][]= new double[2][];
---
>         double tab[]= new double[2];
26c26
<        int size_sol=sol.length;
---
>        size_sol=sol.length;
142c142
< return null;
---
> 
226,227c226,227
<     public PointXYZ extrem1(){
<       return new PointXYZ(this.x1,this.y1,this.z1);
---
>     public Point extrem1(){
>       return new Point(this.x1,this.y1,this.z1);
230,231c230,231
<     public PointXYZ extrem2(){
<       return new PointXYZ(this.x2,this.y2,this.z2);
---
>     public Point extrem2(){
>       return new Point(this.x2,this.y2,this.z2);
245c245
<   double[][] a;
---
>   double[] a;
248c248
< public  double[] solution(double[][] a) {//tableau 2D ou matrice
---
> public  double[] solution(double[] a) //tableau 2D ou matrice
251c251
< double[] x = null;
---
> double[] x;
263c263
< for (int i=n-1;i>=0;i--)
---
> for (i=n-1;i>=0;i--)
265c265
< for (int j=i;j<n;j++)
---
> for (j=i;j<n;j++)
273,274c273,274
< public double permu(int k)
< {int q=0;int li=k;int n=this.taille; double[][] a=this.a;
---
> public double permu(k)
> {int q=0;int li=k;int n=this.taille; double[] a=this.a;