期刊文献+

用C语言实现类封装的研究 被引量:1

Research on the implementation of class encapsulation with C-language
下载PDF
导出
摘要 多年以来,C语言在嵌入式软件开发中被广泛使用,但由于开发人员和应用场景等原因,面向对象、设计模式等优秀的软件开发方法始终没有很好地运用起来。时至今日,物联网等应用的兴起,给嵌入式软件开发带来新的挑战,而传统的面向过程开发已经难以支撑这些复杂的应用。因此,有必要在嵌入式软件开发中引入面向对象、设计模式等优秀的软件开发方法。面向对象是现代软件方法的根基,面向对象体现在类上,而封装为类的第一大特性。文章以类的封装特性为切入点,结合C语言的特性,讨论了C语言实现类封装的方法,并给出了实例。 For many years,C-language is widely used in embedded software development,but because of the developers and application scenarios and other reasons,object-oriented,design patterns and other outstanding software development methods have not been well used. Today,the development of Internet of Things and other applications,has brought new challenges to the development of embedded software,and the traditional process-oriented development has been difficult to support these complex applications. Therefore,it is necessary to introduce object-oriented,design patterns and other excellent software development methods in embedded software development. Object oriented method is the foundation of modern software,object-oriented is embodied in the class,encapsulation is the first major characteristic. In this paper,the characteristics of encapsulation as the starting point,combined with the characteristics of C-language,the method of C-language encapsulation is discussed,and an example is given.
作者 杨韬
出处 《微型机与应用》 2016年第21期24-25,29,共3页 Microcomputer & Its Applications
关键词 C语言 面向对象 封装 C-language object-oriented class encapsulation
  • 相关文献

同被引文献9

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部