内容发布更新时间 : 2024/12/26 17:20:37星期一 下面是文章的全部内容请认真阅读。
北京邮电大学毕业设计
基于qt的科学计算器的设计与实现
摘 要
随着科技的飞速发展,人类已经进入信息化的大时代。信息技术发展更是日新月异,计算器已经进入而且融入人们生活的各个领域,在现代生活中无处不在,大型复杂的计算是人脑和手工所不能胜任的,而且容易出错且准确度不高。科学计算器作为一种快速便捷的计算工具方便了人类的使用。科学计算器包含简单的四则加减乘除运算、复杂的数学运算、二八十十六进制之间的相互转换等功能,具有美观的界面,操作方便简单,能够被用户所接受,科学计算器在我们的日常生活、学习、工作中使用相当广泛,而且种类繁多,所以科学计算器的程序设计因此应运产生。
本文从课题背景、计算器的概况、计算器的相关技术、项目内容和要求、概要设计、设计流程、系统实现、系统调试等方面详细说明了小型科学计算器的开发设计过程。软件采用Qt Creator设计界面结合C++面向对象编程语言来开发。科学计算器包含简单的四则运算、复杂的数学表达式运算、与或运算、进制之间的相互转换、简易画图板等功能。
该科学计算器具有界面可视化,用户操作简单实用方便等优点,为用户进行复杂科学的计算提供了高效率的计算保证。
关键词:科学计算器;进制转换; Qt Creator;C++;运算
i
Design and implementation of scientific calculator based on QT
Abstract
With the rapid development of science and technology, mankind has entered the information era. The development of information technology is change rapidly, the computers have entered and integrated into various fields among people's lives, even are ubiquitous in modern life .The human’s brain and hand have already could not completed the calculation of large scale complex, but also prone to error and accuracy is not high. Scientific calculator as a kind of quick and convenient calculation tool is convenient for human’s using. Scientific calculator contains between four simple add, subtract, multiply and divide operations, a complex mathematical operation, two、eight、ten and sixteen’s hexadecimal conversion functions, with a beautiful interface, simple and convenient operation, and can be accepted by users. Scientific calculator is quite widely in our daily life, study, work, and variety of classifications, so the program’s design about scientific calculator is produced.
From this background, calculator, calculator of related technology, project content and requirements, the outline design, process design, system
implementation, system debugging are described in detail the development and design process of the small.scientific calculator. The program use Qt Creator tool to design the interface with the C++ object oriented programming language. Scientific calculator contains four simple operation, complex mathematical expression operation, and operation, or between hexadecimal conversion, a simple drawing board and other functions.
The scientific calculator has the advantages of visual interface, user operation is simple and practical and convenient, and ensures the efficient calculation for the user to calculate the complicated science.
ii
Keyword: Scientific calculator; hexadecimal; Qt Creator; C++; convenient
iii