像抽象类 [英] something like abstract class
本文介绍了像抽象类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法可以创建在c语言中使用抽象的东西?
我有使用抽象类的c ++代码,我想使用C和Dependency Inversion将其转换
原理
请帮助我!!!!
is there a way to create something that have the use of an abstract in c ??
i have c++ code using abstract classes and i want to convert it using C and Dependency Inversion
Principle
Please help me!!!!!
推荐答案
C不能具有类.时期.如果要使用类,则必须使用C ++.
C is not not capable of having classes. Period. If you want classes, you have to use C++.
这篇关于像抽象类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文