Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. case IDC_ONE_BUTTON:
  2. if (!sign)
  3. {
  4. if (num1 = 0)
  5. {
  6. fnum1 = fnum1 + 1;
  7. num1 = 1;
  8. }
  9. else if (num1 = 1)
  10. {
  11. fnum1 = (fnum1 * 10) + 1;
  12. num1 = 2;
  13. }
  14. else if (num1 = 2)
  15. {
  16. fnum1 = (fnum1 * 10) + 1;
  17. num1 = 3;
  18. }
  19. }
  20. if (sign)
  21. {
  22. if (num1 = 0)
  23. {
  24. fnum2 = fnum2 + 1;
  25. num1 = 1;
  26. }
  27. else if (num1 = 1)
  28. {
  29. fnum2 = (fnum2 * 10) + 1;
  30. num1 = 2;
  31. }
  32. else if (num1 = 2)
  33. {
  34. fnum2 = (fnum2 * 10) + 1;
  35. num1 = 3;
  36. }
  37. }
  38. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement