Library implementations (i.e lists, arrays)

Jul 12, 2015 at 9:08pm
Is there a way to see library (i.e. pointers, lists, arrays) implementations and their class functions such as insert(), delete(), makenull() in actual code like C++, or Python, etc.? I'm just curious to know in detail how they work.
Jul 12, 2015 at 10:34pm
Is there a way to see library (i.e. pointers, lists, arrays) implementations
Sure. Just open any standard header and look. For already compiler runtime library it is slightly harder: look what library is used by your compiler, then search it and download source (if it is not MS library. It is closed sourse).
pointers
pointers are not part of the library but the language itself.
Jul 13, 2015 at 11:09pm
The Microsoft CRT source is provided with Visual Studio; check out the VC\crt\src subdirectory.

Andy
Topic archived. No new replies allowed.