摘要
在工程建设过程当中,有时需要使用许多数学公式计算出相应的数据,然而有一些数学公式计算起来比较麻烦,同时可以使用软件开发工具编写相应的软件来解决这个问题。使用Qt即可以可视化编写软件,也可以纯代码编写。为明了编写软件过程中所用思想、处理过程、操作方法,该文举例介绍使用纯代码编写软件。首先在Qt的安装目录下新建一文件夹,再在此目录下新建四个文本文件,编写相应代码后重命名文本文件为头文件或者C++文件,然后在命令行输入命令,最后生成相应的软件。
In the construction process,sometimes need to use many mathematical formulas to calculate the corresponding data,however,there are some mathematical formula to calculate the more trouble,also can use software tools to compile the corresponding software to solve this problem.Qt can be used to visualize the preparation of software,can also be written in pure code.In order to understand the idea,process and method of the software process,this paper introduces the use of pure code.First create a new folder in the Qt installation directory,this directory four new text file,write the corresponding code after renaming the text file for the header file or C++file,and then enter the command in the command line,and finally generate the corresponding software.
作者
段振虎
DUAN Zhen-hu(Yingjing anda Coal Industry Co.,Ltd,Yaan 625200,China)
出处
《电脑知识与技术》
2020年第27期72-74,84,共4页
Computer Knowledge and Technology