C中的模板化类实现 [英] templated class implementation in C

查看:131
本文介绍了C中的模板化类实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我想知道如何在C中实现模板类。

有人知道我能阅读的任何资源。
< br $>
谢谢

Jami

Hello,
I would like to know how to implement template classes in C. Does
someone know of any resources which I can read.

Thanks
Jami

推荐答案



jamihuq写道:

jamihuq wrote:
您好,
我想知道如何在C中实现模板类。
有人知道我可以阅读的任何资源。
Hello,
I would like to know how to implement template classes in C. Does
someone know of any resources which I can read.




C不支持模板,也没有类型,你在

错误的组。



C doesn''t support templates and doesn''t have class types and you are in
the wrong group.




jamihuq写道:

jamihuq wrote:
您好,
我想知道如何在C中实现模板类。
有人知道我可以阅读的任何资源。
Hello,
I would like to know how to implement template classes in C. Does
someone know of any resources which I can read.




试试这个人。我想他曾经尝试过一次。

http://public.research.att.com/~bs/homepage.html

问候

Andy Little



Try this guy. I think he tried it once upon a time.

http://public.research.att.com/~bs/homepage.html

regards
Andy Little


这是我从另一位乐于助人的人那里得到的同样的回复,当我想要一些将C ++类转换为C的资源时。唉,在C C ++类中实现了一种

方式。所以,如果你不知道尝试成为一个

少一点粗鲁而不回复。

This is the same sort of reply I got from another helpful person when I
wanted some resources converting C++ class to C. But alas, there was a
way to implement in C C++ classes. So, if you don''t know try being a
little less rude and not reply.


这篇关于C中的模板化类实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆