Top "Standard-library" questions

The standard library contains core utilities provided by all implementations of the language.

When should I use std::bind?

Every time I need to use std::bind, I end up using a lambda instead. So when should I use …

c++ c++11 lambda bind standard-library
Does std::mt19937 require warmup?

I've read that many pseudo-random number generators require many samples in ordered to be "warmed up". Is that the case …

c++ random c++11 standard-library mersenne-twister
stdio.h not standard in C++?

I know most compilers allow both: #include <stdio.h> and #include <cstdio> But someone argued that &…

c++ stdio standard-library
Strange bug in usage of abs() I encountered recently

I have C++/C mixed code which I build on a) Visual C++ 2010 Express(Free version) on Win-7 x32. b) …

c++ standard-library
How does printf work internally?

I am curious as to how printf works internally within Linux. I don't understand how it writes data to STDOUT. …

c assembly printf standard-library
What does the "c" mean in cout, cin, cerr and clog?

What does the "c" mean in the cout, cin, cerr and clog names? I would say char but I haven't …

c++ iostream standard-library
Which functions from the standard library must (should) be avoided?

I've read on Stack Overflow that some C functions are "obsolete" or "should be avoided". Can you please give me …

c standard-library obsolete
What are the differences amongst Python's "__get*__" and "_del*__" methods?

I just started learning Python a few months ago, and I'm trying to understand the differences between the different __get*__ …

python getter-setter standard-library accessor
How can I tell if a Perl module is core or part of the standard install?

How can I check if a Perl module is part of the core - i.e. it is part of …

perl module standard-library
What is POSIX, any other interface standards which can replace it?

I was confused by the numerous standards and interfaces for C and C++ programming. There's ANSI C, ISO C, GLIBC, …

c++ c posix standards standard-library