- 1、本文档共5页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
可视化编程_V_简单计算器
《可视化程序编程环境》
实验报告
项目名称 编写简单计算器程序
学 院 计算机学院
专业班级 计算机科学与技术
学 号 20111104593
姓 名 熊健
指导教师 朝老师
2013年 5月 20日
一、题目要求
编写简单计算器程序
程序基于对话框架构设计,在图开界面上分别设有操作数输入窗口、结果显示窗口以及各种运算按键等,至少实现加、减、乘、除运算;
二、设计步骤
建立应用程序框架。打开Microsoft Visual C++ 6.0,在文件中点击新建,在弹出框内选择MFC AppWizard[exe]工程,输入工程及其所在位置,点击确定,如图将弹出MFC AppWizard-step 1对话框,选择基本对话框,点击完成,如图所示这样,MFC AppWizard就建立了一个基于对话窗口的程序框架,void CQiujinghuDlg::Oncheng()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_result=m_firnum*m_secnum;
UpdateData(false);
}
void CQiujinghuDlg::Onchu()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_result=m_firnum/m_secnum;
UpdateData(false);
}
void CQiujinghuDlg::Onjia()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_result=m_firnum+m_secnum;
UpdateData(false);
}
void CQiujinghuDlg::Onjian()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_result=m_firnum-m_secnum;
UpdateData(false);
}
section of the Department of project management; Project documents and information: Project Engineering Department; Materials and equipment: material supply projects; Security controls: the project Department of safety and security; Construction machinery: Project Engineering Department; Financial: Project Management Department of finance; Security and fire services: project security. 3.3.5 management representative and project manager in this item specifies that the Chief Engineer is the management representative, responsible for the operation of quality management system and supervision, regardless of how his other responsibilities, should have a clear mandate to: ensure that the quality management system is implemented and maintained; The running of the quality management system to the project manager, including needed improvements; Always be aware that the customers needs and r
您可能关注的文档
- 发展对象送审材汇总表.doc
- 发布服务器搭建使用手册.doc
- 发挥农业资源优,做活农业旅游文章.doc
- 发挥党员夜校平作用 动员稿.doc
- 发展水保事业 善生态环境 促进经济繁荣.doc
- 发挥特色优势,造中医名科.doc
- 发文章时参考文写法.doc
- 发电12级毕业计任务书.doc
- 发电厂脱硝改造计合同.doc
- 发电厂脚手架搭方案.doc
- 第一章 化学反应的热效应-高二化学(人教版选择性必修1).pdf
- 玉米高效种植新纪元-掌握现代农业技术,提升玉米产量.pptx
- 电视广告:新时代新挑战-揭秘广告市场竞争与解决之道.pptx
- 探讨经济学的未来发展-经济学教授.pptx
- 历史学研究的趋势分析-历史研究趋势.pptx
- 2025年中考英语答题技巧与模式:书面表达之应用文(邀请函、志愿服务邀请、演讲稿)学生版+解析.pdf
- 四川省成都市某中学2024-2025学年高二年级下册期中考试英语试题(原卷版).pdf
- 从句(思维导图+高频考点+必备知识+模拟新题+押题预测)原卷版+解析-2025年高考英语总复习(核心语法梳理).pdf
- 分数的计算与应用题(专项练习)-小升初六年级下册数学人教版.pdf
- 2024人教版七年级下册生物期末综合模拟测试卷(含答案).pdf
文档评论(0)