[Gtk-sharp-list] Help!!!
Diego Carrera
diegocarrera2001@hotmail.com
Fri, 17 Oct 2003 16:46:03 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_003D_01C394CE.27320830
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi i have a little problem over here well various of them, first of all =
ive been trying to make some matrix operation program you know, adding =
substracting etc. my first problem is that i cant make arrays to store =
the entrys where all the variables will be stored, im trying to do this =
because i want it to be a variable size matrix, ive been thinking that i =
can make some knid of struct that contains the entrys, so i can make an =
array from that struct it would be something like this.
struct element{
public double value;// so the constructor doesn't complains
public Entry box;
public elemento(double value){
this.value =3D value;
box =3D new Entry();
}
}
i think this aproach worked fine, any suggestions are welcomed, second =
of all what should i do if want to do some matrix resizing without =
restarting my application, should i reparent or what please help im =
stuck here.
Thnxs in advance!!!
Diego C.=20
------=_NextPart_000_003D_01C394CE.27320830
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi i have a little problem over here =
well various=20
of them, first of all ive been trying to make some matrix operation =
program you=20
know, adding substracting etc. my first problem is that i cant make =
arrays to=20
store the entrys where all the variables will be stored, im trying to do =
this=20
because i want it to be a variable size matrix, ive been thinking that i =
can=20
make some knid of struct that contains the entrys, so i can make an =
array from=20
that struct it would be something like this.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>struct =
element{<BR> =20
public double value;// so the constructor doesn't=20
complains<BR> public Entry=20
box;<BR> public elemento(double=20
value){<BR> this.value =
=3D=20
value;<BR> box =3D =
new=20
Entry();<BR> }<BR> =
}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>i think this aproach worked fine, any =
suggestions=20
are welcomed, second of all what should i do if want to do some matrix =
resizing=20
without restarting my application, should i reparent or what please help =
im=20
stuck here.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thnxs in advance!!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Diego =
C.</FONT> </DIV></BODY></HTML>
------=_NextPart_000_003D_01C394CE.27320830--