检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:朱进[1]
出 处:《微机发展》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.
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.42