lw_oopc-v1.2
代码说明:
一种轻量级的面向对象的C语言编程框架:LW_OOPC。LW_OOPC是Light-Weight Object-Oriented Programming in(with) C的缩写,总共一个.h文件,20个宏,约130行代码,非常的轻量级,但却很好的支持了很多面向对象的特性,比如继承、多态,可以优美的实现面向接口编程。这个框架系由台湾的高焕堂先生以及他的MISOO团队首创,之后由金永华继续改进优化,最后,经高焕堂同意以LGPL协议开源(开源网址参见后文)。 用C语言实现OO?我没听错吗?这听起来真是太疯狂了!… 大家都知道,C++支持了面向对象和面向泛型编程,比C要更强大些。那么,为什么要在C语言中实践面向对象呢?为什么不直接使用C++呢? 希望这套宏,能够真正帮助到想用C语言写出面向对象代码的C程序员们! 源码包括几个使用这套宏的代码示例,可以认真钻研下。(A lightweight, object-oriented C language programming framework: LW_OOPC. LW_OOPC is an acronym for Light-Weight Object-Oriented Programming in (with) C, total. H file, 20 macro, about 130 lines of code, very lightweight, but very good support for object-oriented features, such as inheritance, polymorphism, and interface-oriented programming can be beautiful. This framework is the first team by of Taiwan Mr. Gao Huantang his MISOO continue to improve optimization, followed by Jin Yonghua, see below) agreed to LGPL the agreement open source (open source URL, GAO Huan-tang. Using C language implementation of Estimates of? I did not hear it? It sounds really crazy! ... As we all know, C support object-oriented and oriented generic programming than C to be more powerful. So, why do you want to practice in C language object-oriented? Why not just use C? I hope this set of macros, can really help to write object-oriented code C programmers who want to use the C language! Source includ)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!