面向对象设计模式的C语言实现  被引量:3

The OO Design Patterns's Realization in C Language

在线阅读下载全文

作  者:朱进[1] 

机构地区:[1]东南大学软件学院,江苏南京210096

出  处:《微机发展》2005年第11期99-101,105,共4页Microcomputer Development

摘  要:介绍了C语言成为嵌入式技术领域主要的程序设计语言的原因,及当前用C语言所编写的程序仍然存在的问题,然后介绍了面向对象的设计模式的概念及优点。并提出将面向对象的思想与C语言结合起来,接着用C语言实现了部分面向对象的设计模式,给出了其代码,并做了相应的注释,为优化C程序的结构提供了途径。最后总结了在C程序中使用这些设计模式的价值。文中所指的C语言均为标准C(ANSI C)。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 pattems'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 langnage. The C language is ANSI C in the article.

关 键 词:面向对象 设计模式 程序结构 C语言 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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