利用纯代码构建VC++应用程序框架  

Constructing VC++ Application's Architecture with Pure Code

在线阅读下载全文

作  者:曹桂平[1] 

机构地区:[1]中国科学技术大学近代物理系快电子实验室,合肥230026

出  处:《微计算机应用》2008年第10期79-86,共8页Microcomputer Applications

摘  要:VC++是目前Windows系统下最为常见和常用的编程语言。在VC++编程时,其开发环境提供的Wizard机制为创建VC++应用程序提供了极大的方便性,不过这种方便性在某种程度上增加了程序的调试难度和理解难度,因为利用Wizard创建的程序很多关键部分代码对用户隐藏了,而且如果没有对VC++底层机制有一定了解,虽然可以利用Wizard编写VC++程序,但是对程序的底层工作原理仍然无法掌握。本文旨在通过纯代码构建VC++程序框架,从而使读者从根本上了解VC++程序类的层次以及VC++程序的底层工作机制。本文最后将捎带介绍如何使用纯代码编写VC++界面从而抛弃开发环境提供的"拖拉"作风。VC ++ is currently the most prevalent programming language under windows system. The development environment offered by visual studio provides great convenience to VC ++ programmers ; however this at the same time increases the difficulty of debugging and understanding the working principles of the programs, for plenty of key codes are eoncealod from users. This paper will construct a simple VC ++ program with pure code not using wizard at all, so as to analyze the fundamentals of VC ++ programs and the relation- ships between different classes in the program. At last, the paper will concisely introduce how to create VC ++ interface with pure codes, discarding the usage of tools offered by Visual Studio.

关 键 词:VC++ 类层次 文档/视图架构 

分 类 号:TP312.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象