Tinycalc patch

4 views
Skip to first unread message

Takanori Oshiro

unread,
Jul 11, 2021, 1:29:33 AM7/11/21
to
18c18
< operator = buf[i];
---
> operator = buf[++i];

Takanori Oshiro

unread,
Jul 18, 2021, 6:36:09 AM7/18/21
to
2a3
> #include <ctype.h>
15c16
< while(buf[i] != '+' && buf[i] !='-')
---
> while(isdigit(buf[i]))
18c19
< operator = buf[++i];
---
> operator = buf[i++];
24a26
>

Takanori Oshiro

unread,
Jul 24, 2021, 10:00:21 PM7/24/21
to
22c23
< str2[j+1]='\0';
---
> str2[j]='\0';
Reply all
Reply to author
Forward
0 new messages