用VC实现数学函数图形绘制.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
用VC实现数学函数图形绘制.doc

用VC++实现数学函?数图形绘制? Use the VC++ to reali?ze drawi?ng figur?es of mathe?matic? funct?ions 指导教师:付勇 制作人:刘海,卢文娟 Tutor?: Fu yong Produ?cer:Liu hai 、 Lu wenju?an 摘要 Visua?l C++(以下简称V?C++) 是面向对象?与可视化软?件开发工具?中比较成熟?的一类。MFC是V?C++中直接由M?icros?oft提供?的类库,它集成了大?量已定义好?的类,我们可以根?据需要,调用相应类?,或根据需要?自定义类。正是基于M?FC的这种?特性,我们试图设?计出具有封?装性、独立性的功?能模块------函数数据生?成模块,函数曲线输?出模块,模块之间的?桥梁是由模?板类CAr?ray派生?的CPoi?nt类数组?充当的。函数数据生?成模块用来?实现对函数?的设置并获?得采样点,数组得到采?样点数据并?将其传递到?输出模块中?。从整体来看?,实现了各程?序模块的独?立性,使得在函数?模块中可任?意添加、删除函数,可使用不同?的DC和G?DI,可实现不同?的输出方式?,整个工程在?函数绘图功?能上是无限?扩展的。经过反复的?调试和检验?,我们实现了?预期目标。我们的主要?目的是尝试?VC++在数学函数?绘图方面的?功能和应用?。这是对VC?++的探索,也是对数学?函数绘图多?样化的尝试?。 关键字 【Abstr?act】 Visua?l C++ is one of the objec?t orien?ted and visua?l softw?are devel?oper ,which? is more matur?e than other?s . MFC is a class? wareh?ouse which? is suppl?ied by Micro?soft ,and it conta?ins a great? deal of defin?ed class?es .we can trans?fer the corre?spond?ed class? if neces?sary ,or give a fresh? defin?ition? accor?ding our needs? . Exact?ly based? on MFC this kind of chara?cter, we try to desig?n out the funct?ion mold which? have the funct?ion to pack the class? and be indep?enden?t ------Mold for creat?ing Funct?ion data, Mold for outpu?tting? the funct?ion curve?, mold piece? of born mold piece? be sent by Cpoin?t Array? rared? by templ?ate CArra?y.The first? mold is to make out sets for the funct?ion and get data we need which? will be sent to the defin?ed array?,so now the array? have the data that is to be got by the secon?d mold.From whole? proje?ct,we can see the indep?enden?ce of each mold,and exact?ly we may incre?ase and decre?ase funct?ions if neces?sary,we even can use diffe?rent DC and GDI to reali?ze the custo?med expor?tatio?n metho?d by which? we can have a new view of the funct?ion curve?. So, the funct?ion of the proje?ct can

文档评论(0)

cai + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档