-
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)
- 2012-11-21 14:36:34下载
- 积分:1
-
naoplaygolf
说明: nao机器人软银杯比赛代码,希望对大家有所帮助。(Nao Robot Soft Silver Cup Competition Code)
- 2020-06-18 02:00:02下载
- 积分:1
-
resaux1
resaux de 5 neaud tronsport PSAT
- 2019-02-17 02:36:56下载
- 积分:1
-
boost库中 mem_fun使用实例 注意要有boost库才能编译
boost库中 mem_fun使用实例 注意要有boost库才能编译-boost library mem_fun attention to the use of examples can be compiled for boost
- 2022-06-21 04:21:09下载
- 积分:1
-
GTM_DesignSim-master
GTM_DesignSim-master
- 2020-06-16 10:00:11下载
- 积分:1
-
1.m
说明: 有源压制式干扰仿真分析,射频噪声干扰、噪声调频干扰、噪声调幅干扰与噪声调相干扰四个部分(Simulation analysis of active suppression jamming,radio frequency noise jamming, noise frequency modulation jamming, noise amplitude modulation jamming and noise phase modulation jamming)
- 2020-05-15 17:23:08下载
- 积分:1
-
labwindows/CVI and vc 6.0 mixed programming. The procedures are needed labwindow...
labwindows/cvi 和 vc++6.0的混合编程。程序的执行需要labwindows/cvi组件的支持-labwindows/CVI and vc 6.0 mixed programming. The procedures are needed labwindows/CVI components support
- 2022-01-25 19:52:56下载
- 积分:1
-
C#实现TCP/IP通信的服务器端代码frmGoodsInventoryDetail
实现TCP/IP通信的服务器端代码,帮助学习C#以及实现TCP通信(Server-side code to realize TCP/IP communication, help to learn C# and realize TCP communication)
- 2020-06-25 06:40:01下载
- 积分:1
-
H3C安全态势感知系统主题汇报_v1.0
说明: H3C安全态势感知系统主题汇报,新华三对态势感知理解 写ppt可借鉴(Safety situation technology introduction document)
- 2020-12-22 10:49:07下载
- 积分:1
-
词法分析器。
要求:1.读出所给文件的所有词
2.将所有词输出写入一个txt文档中。
3.每个词用特殊符号‘^’隔开
源程序为自己所编译的c...
词法分析器。
要求:1.读出所给文件的所有词
2.将所有词输出写入一个txt文档中。
3.每个词用特殊符号‘^’隔开
源程序为自己所编译的cpp文件,即“text2.cpp”,Compile――〉Build――〉BuildExiecute,将结果写入另一个文件“after_execute.txt”中。
-lexical analyzer. Requirements : 1. Read out documents to all the words of two. Output of all words into a txt documents. 3. Each word with a special symbol "^" separate source for the translation of their documents cpp, "text2.cpp" Compile-- "Build--" BuildExiecute. The results will be included in another document "after_execute.txt".
- 2022-01-31 14:44:26下载
- 积分:1