On 04/16/2014 10:47 AM, Capture_A_Lag wrote:

> ubyte tmp;

>          scanf("%d", &tmp);
>                  // After this scanf n becomes 0 for no reason

%d is for int.

Ali

P.S. A friendly request: It makes it much easier for the rest of the group if posts contained compilable, minimal but complete code. Thanks.

Reply via email to