questions about some C++ library functions

Jun 23, 2015 at 7:37pm
I use gcc/g++ to compile my c++ program on ubuntu.
I have confusion about some underlying functions.
Which library provides the implementation of __cxa_atexit?
Which library provides the implementation of vectors, cin and cout?
More general, how can I find which library provide implementation of a specific function?
Thanks a lot.
Last edited on Jun 23, 2015 at 7:39pm
Jun 24, 2015 at 12:08pm
I would look on this very site under reference.
Jun 25, 2015 at 8:33pm
I cannot find any reference to those functions.
It looks like those are very compiler specific functions (under Linux, it depends on gcc).
But I am not sure.
Could someone help me?

Thanks a lot
Jun 26, 2015 at 12:38pm
I was referring to vectors, cin, and cout: Look here: http://www.cplusplus.com/reference/iolibrary/
Jun 26, 2015 at 6:23pm
http://bfy.tw/XKn - 3rd answer
Jul 10, 2015 at 5:17pm
I know cin/cout are within iostream.
Its possible that vectors are a standard c++ type, but im really not sure.

EDIT: vectors have their own standard library called "vector"
Last edited on Jul 10, 2015 at 11:57pm
Topic archived. No new replies allowed.