MFC Windows programming experiment --- Edit Boxes

1 实验描述:create edit boxes and realize the operation like addition, subtraction, multiplication and division.

2 Same as the previous article, create a new project.

3 Same as the previous article, add the controls required by the title to the resource file Diglog.

4 Same as the previous article, add types for class members.

5 Same as the previous article, add functions for each control. The following figure is a function that realizes the Addition function:
Insert picture description here
6 The result is as follows:
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43574277/article/details/106119019