首页 | 本学科首页   官方微博 | 高级检索  
     

面向对象设计模式的C语言实现
引用本文:朱进.面向对象设计模式的C语言实现[J].微机发展,2005,15(11):99-101,105.
作者姓名:朱进
作者单位:东南大学软件学院,江苏南京210096
摘    要:介绍了C语言成为嵌入式技术领域主要的程序设计语言的原因,及当前用C语言所编写的程序仍然存在的问题,然后介绍了面向对象的设计模式的概念及优点.并提出将面向对象的思想与C语言结合起来,接着用C语言实现了部分面向对象的设计模式,给出了其代码,并做了相应的注释,为优化C程序的结构提供了途径.最后总结了在C程序中使用这些设计模式的价值.文中所指的C语言均为标准C(ANSIC).

关 键 词:面向对象  设计模式  程序结构  C语言
文章编号:1005-3751(2005)11-0099-03
收稿时间:2005-01-10
修稿时间:2005-01-10

The OO Design Patterns's Realization in C Language
ZHU Jin.The OO Design Patterns''''s Realization in C Language[J].Microcomputer Development,2005,15(11):99-101,105.
Authors:ZHU Jin
Affiliation:Software Institute, Southeast University, Nanjing 210096, China
Abstract:The article introduces the reason why C language becomes the mostly program-design language in embedded field at first,and introduces the existent question in program that programmed in C language.Then it introduces the OO design patterns's concept and excellence,and points out touching C language with OO thinking.And then the article realizes partial the OO design patterns in C language,and offers the C code companied with notes.It offers approach for optimizing the C program's structure.At last,the article summarizes using these patterns's value in C language.The C language is ANSI C in the article.
Keywords:OO  design patterns  program structure  C language
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号