Home > Back-end >  C builder figure in picture function problem
C builder figure in picture function problem

Time:10-13

X, y is the result of the two calculated by different function, how to put the x, y onto a map? This function should be how to change, beg god for help, I am a beginner!
int i;
=1.0 float x, y, a, b=2.0, c=3.0, d=4.0;
Strings str1 str2;
Form2 - & gt; Show ();
Form2 - & gt; Memo1 - & gt; Lines - & gt; Add (" x y ");
For (I=0;; I++)
{
X=a + b;
Y=c + d;
Str1=FloatToStr (x);
Str2=FloatToStr (y);
Form1 - & gt; Series1 - & gt; AddX (x);
Form1 - & gt; Series1 - & gt; AddY (y);
Form2 - & gt; Memo1 - & gt; Lines - & gt; Add (" str1 str2 ");
}
  • Related