没有stl,c开发人员会做什么? [英] what do c developers do without the stl?

查看:113
本文介绍了没有stl,c开发人员会做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在c,经过多年的c ++后回去做一些工作,但我发现缺少模板,特别是stl中的容器是

a巨大的显示塞子。

有数学库,绘图库,图形库等但是我的一些

有用的容器库。有什么想法吗?

问候,

康拉德威恩斯

解决方案

Conrad Weyns写道:< blockquote class =post_quotes>我最近又回到c做了一些工作,经过多年的c ++,但我发现缺少模板,特别是stl中的
容器是一个巨大的显示塞子。
有数学库,绘图库,图形库等,但我有什么关于一些有用的容器库。任何人的想法?




就个人而言,我重做我的字符串:

http://bstring.sf.net/


我这样做:

http://www.pobox.com/~qed /ll.zip


给我功能非常相似(我的意思是考虑到我对数据类型的典型

重点)给STL。还有其他图书馆

喜欢:

http://www.xref-tech.com/sglib/main.html


涵盖更多内容。


---

Paul Hsieh
http://www.pobox.com/~qed/
http://bstring.sf.net/


Conrad Weyns写道:

有数学库,绘图库,图形库等,但我怎么样
一些有用的容器库。任何人的想法?




我使用Gtk +的GLIB(你不需要做GUI编程来使用

它 - 它与Gtk +的其余部分完全分开):

http: //www.gtk.org/


API文档: http://developer.gnome.org/doc/API/2.0/glib/index.html


当然,我们这些在Scheme和Lisp中编程的人都会惊讶地发现,如果没有真正的宏系统,其他所有人都会得到这样的结果:)


Jon

----

学习使用Linux汇编语言编程
http://www.cafeshops.com/bartlettpublish.8640017




" Conrad Weyns" <我们*** @ online.no>在消息中写道

news:vo ******************* @ news4.e.nsc.no ...

我最近在c,经过多年的c ++后回去做一些工作,但是
我发现缺少模板,特别是stl到
的容器是一个巨大的阻塞。有数学库,绘图库,图形库等,但我对一些有用的容器库怎么样。任何人的想法?
问候,
康拉德韦恩




叫我疯了,我自己动手。


用于娱乐和学习


I have recently gone back to doing some work in c, after years of c++, but I
find the lack of templates and in particular the container in the stl to be
a huge show stopper.
There are math libs, plotting libs, graphic libs etc but I what about some
usefull container lib. Any ideas anyone?
regards,
Conrad Weyns

解决方案

Conrad Weyns wrote:

I have recently gone back to doing some work in c, after years of
c++, but I find the lack of templates and in particular the
container in the stl to be a huge show stopper.
There are math libs, plotting libs, graphic libs etc but I what
about some useful container lib. Any ideas anyone?



Personally, I redo my strings like so:

http://bstring.sf.net/

and I do things like this:

http://www.pobox.com/~qed/ll.zip

to give me functionally very similar (I mean considering my typical
emphasis in data types) to STL. There are other libraries out there
like:

http://www.xref-tech.com/sglib/main.html

which covers even more.

---
Paul Hsieh
http://www.pobox.com/~qed/
http://bstring.sf.net/


Conrad Weyns wrote:

There are math libs, plotting libs, graphic libs etc but I what about
some usefull container lib. Any ideas anyone?



I use GLIB from Gtk+ (you don''t need to be doing GUI programming to use
it -- it''s perfectly separable from the rest of Gtk+):

http://www.gtk.org/

API Docs: http://developer.gnome.org/doc/API/2.0/glib/index.html

Of course those of us who program in Scheme and Lisp stand in wonder at
how everyone else gets by without a real macro system :)

Jon
----
Learn to program using Linux assembly language
http://www.cafeshops.com/bartlettpublish.8640017



"Conrad Weyns" <we***@online.no> wrote in message
news:vo*******************@news4.e.nsc.no...

I have recently gone back to doing some work in c, after years of c++, but I find the lack of templates and in particular the container in the stl to be a huge show stopper.
There are math libs, plotting libs, graphic libs etc but I what about some
usefull container lib. Any ideas anyone?
regards,
Conrad Weyns



call me crazy, I made my own.

for fun and learning


这篇关于没有stl,c开发人员会做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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