本文介绍了STL或STL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有兴趣知道是否有任何C ++程序员不使用STL。

我一直用C ++编写代码现在已经一年左右了,虽然最近才有了b $ b,但我开始了一个大型(ish)规模的项目。我没有使用任何STL,而且我想知道是否有其他人在那里使用STL没有

的C ++程序? (只是为了看看我是不是因为不使用它而感到愚蠢)


谢谢

Allan


-

Allan Bruce

计算科学系

阿伯丁大学

Aberdeen AB24 3UE

苏格兰,英国

解决方案




不能代表其他我当然不会自己构建所有一般的

目的容器。我为什么要这样?


Andre''





FWIW,我公司的编程总监是一个旧的DOS h4x0r,他是

很久以前写的代码完全包装/替换(我不能说哪个......)

STL。他的理由是STL(特别是std ::矢量)并没有表现得像他想要的那样,无论如何他是一个真正的重塑更好的轮子。类型

的家伙。


-

Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我

ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。




我会说最大的一组不使用

标准库的程序员必须是那些使用

MFC库编写Windows应用程序的人。由于MFC提供了类似类型的类(字符串,

容器),我认识的大多数程序员对标准库的知识都很少。

Hi there,

I am interested to know if there are any C++ programmers who do not use STL.
I have been coding in C++ for a year or so now, although only recently have
I started a large(ish)-scale project. I do not use any STL, and I was
wondering if there are any others out there that program in C++ without
using STL? (Just to see if I am being stupid by not using it)

Thanks
Allan

--
Allan Bruce
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
Scotland, UK

解决方案



Can''t speeak for the others by I certainly do not build all the general
purpose containers myself. Why should I?

Andre''




FWIW, the director of programming at my company is an old DOS h4x0r, and he
long ago wrote code that completely wraps/replaces (I can''t say which...) the
STL. His reasoning is that the STL (std::vectors, particularly), didn''t
behave like he wanted, and anyway he''s a real "reinvent a better wheel" type
of guy.

--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.



I''d say that the biggest group of programmers that don''t use the
standard library would have to be those writing Windows apps using the
MFC library. Since MFC provides similar types of classes (strings,
containers), the majority of programmers that I know have little
knowledge of the standard library.


这篇关于STL或STL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 19:25