Actually,,i dont get anything,,thats the problem..

>From: Henk Jonas <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Re: hello..
>Date: Fri, 02 Aug 2002 00:05:37 +0200
>
>just a question: is sin() not defined with arguments from 0 to 2*PI and the 
>result is from -1 to 1? So, what do you expect to get from your function? A 
>straight line? I bet you get a straight line...
>
>Henk
>
>Al Smith wrote:
>
>>
>>
>>well,,nope,,I dont get anything drawn..what I have is this..
>>
>>case GraphDisplayButton:
>>                     {
>>                     int n,y;
>>                     double x;
>>
>>                     for (n = 0; n < 180; n++)
>>                     {
>>                         x = 4 * n *(RADDEG);
>>                         y = sin(x);
>>                         WinDrawPixel(n,80+y);
>>                     }
>>                     handled = true;
>>                     break;
>>                     }
>>
>>where RADDEG =(180.0/PI)
>>
>
>
>--
>-------------------------------------------------------------------------
>[EMAIL PROTECTED]                                       www.metaviewsoft.de
>
><A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
><IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung.jpg";></A>
>-------------------------------------------------------------------------
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/support/forums/




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to