-
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
-
grbl-master
说明: An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight
- 2019-01-09 21:34:25下载
- 积分:1
-
D-C
说明: flac3d自便模型,二次开发邓肯张模型,(The two time development of Duncan's Duncan Zhang model)
- 2020-10-08 08:47:36下载
- 积分:1
-
VRPTW-master
说明: 基于时间窗的电动车调度,利用了遗传算法,启发式算法进行编程(Electric vehicle scheduling based on time window is programmed by using genetic algorithm and heuristic algorithm.)
- 2020-06-25 00:40:02下载
- 积分:1
-
HN
说明: 单片机直流无刷电机驱动单片机直流无刷电机驱动(moto driver)
- 2010-01-28 16:23:45下载
- 积分:1
-
美国STANFOR大学--凸优化及应用:凸优化基本原理,在通信及函数优化中德应用...
美国STANFOR大学--凸优化及应用:凸优化基本原理,在通信及函数优化中德应用-STANFOR University of the United States-- convex optimization and application : the basic tenets of convex optimization, in communications and function optimization and German application
- 2023-04-07 09:50:03下载
- 积分:1
-
Qt_MCAN_First_Version_Two
说明: 使用QT平台,C++语言实现上位机和CAN设备的通信(Using QT platform and C++ language to realize communication between PC and CAN equipment)
- 2020-08-15 14:48:26下载
- 积分:1
-
Windows-IoT-Core-Graphics-Library-master
说明: Windows - IoT - Core - Graphics - Library - master
- 2020-06-21 22:40:01下载
- 积分:1
-
VB 柱状图图表生成一例
在VB环境下生成柱状图的例子,VB6.0调用MSChart控件生成柱状图图表一例,程序要用到Access数据库,从中读取数据库后,对数据进行分组统计,然后使用MSChart所提供的方法,生成柱状图表,直观的表现出数据的差异性。
- 2023-09-01 02:30:03下载
- 积分:1
-
gfdm-lib-matlab-master
说明: matlab仿真代码,适合初学者学习,包括产生GFDM信号并于OFDM进行PAPR比较(Matlab simulation code, suitable for beginners to learn.)
- 2021-04-07 11:49:01下载
- 积分:1