Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case IDC_ONE_BUTTON:
- if (!sign)
- {
- if (num1 = 0)
- {
- fnum1 = fnum1 + 1;
- num1 = 1;
- }
- else if (num1 = 1)
- {
- fnum1 = (fnum1 * 10) + 1;
- num1 = 2;
- }
- else if (num1 = 2)
- {
- fnum1 = (fnum1 * 10) + 1;
- num1 = 3;
- }
- }
- if (sign)
- {
- if (num1 = 0)
- {
- fnum2 = fnum2 + 1;
- num1 = 1;
- }
- else if (num1 = 1)
- {
- fnum2 = (fnum2 * 10) + 1;
- num1 = 2;
- }
- else if (num1 = 2)
- {
- fnum2 = (fnum2 * 10) + 1;
- num1 = 3;
- }
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement