[ODE] cant get started!

Brian Bell bbell at legitimatefront.com
Wed Jul 16 10:31:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0152_01C34B9E.952287D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Katie,

The mistakes you are making are very basic C/C++ mistakes.  They have =
nothing to do with ODE or its documentation.  I think that before you =
attempt to go any further with ODE, you should find a book or other =
resource that will help you bring your C/C++ up to a sufficient level.

Good luck, and I'm sure we'll all be thrilled to help when you come back =
with some ODE specific questions.

Brian

  ----- Original Message -----=20
  From: Katie Bentley=20
  To: DjArcas ; ode@q12.org=20
  Sent: Wednesday, July 16, 2003 1:10 PM
  Subject: Re: [ODE] cant get started!


  where abouts?

  I tried:

   >const dMass *mass;
  >
  >dMassSetBox (mass, density,lx, ly, lz);
  >
  >dBodySetMass (firstBodyID, mass);


  and it says it cant convert from const struct dMass * to struct dMass =
* in the dMassSetBox function.  But its a redefinition if I declare it =
as dMass *mass too.... if I put in &mass in the setBox function then it =
says cant convert from const struct dMass ** to struct dMass *

  help! :)
  this doesn't work...
   original documentation code:
  void dBodySetMass (dBodyID, const dMass *mass);
  void dBodyGetMass (dBodyID, dMass *mass);

------=_NextPart_000_0152_01C34B9E.952287D0
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.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Katie,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The mistakes you are making are very =
basic C/C++=20
mistakes.&nbsp; They have nothing to do with ODE or its =
documentation.&nbsp; I=20
think that before you attempt to go any further with ODE, you should =
find a book=20
or other resource that will help you bring your C/C++ up to a sufficient =

level.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Good luck, and I'm sure we'll all be =
thrilled to=20
help when you come back with some ODE specific questions.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Brian</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dkatiebentley222@hotmail.com=20
  href=3D"mailto:katiebentley222@hotmail.com">Katie Bentley</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Ddjarcas@hotmail.com=20
  href=3D"mailto:djarcas@hotmail.com">DjArcas</A> ; <A =
title=3Dode@q12.org=20
  href=3D"mailto:ode@q12.org">ode@q12.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 16, 2003 =
1:10=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [ODE] cant get=20
started!</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>where abouts?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I tried:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&gt;const dMass =
*mass;</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&gt;</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&gt;dMassSetBox (mass, density,lx, =
ly,=20
  lz);</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&gt;</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&gt;dBodySetMass (firstBodyID, =
mass);<BR></DIV>
  <DIV></FONT><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
  <DIV><FONT color=3D#0000ff>and it says it cant convert from const =
struct dMass *=20
  to struct dMass * in the dMassSetBox function.&nbsp; But its a =
redefinition if=20
  I declare it as dMass *mass too.... if I put in &amp;mass in the =
setBox=20
  function then it says cant convert from const struct dMass ** to =
struct dMass=20
  *</FONT></DIV>
  <DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
  <DIV><FONT color=3D#0000ff>help! :)</FONT></DIV>
  <DIV><FONT color=3D#0000ff>this doesn't work...</FONT></DIV>
  <DIV><FONT color=3D#0000ff>&nbsp;original documentation =
code:</FONT></DIV>
  <DIV><FONT color=3D#0000ff>void dBodySetMass (dBodyID, const dMass=20
  *mass);<BR>void dBodyGetMass (dBodyID, dMass=20
*mass);<BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>

------=_NextPart_000_0152_01C34B9E.952287D0--