library new

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • seforo
    New Member
    • Nov 2006
    • 60

    library new

    Hi Guys,

    I am analyzing a segment of code and it includes library new i.e #include <new>. I searched the web for the library to look at what methods it contains but I don't find it. The program compiles quite well with my GCC compiler and I am not linking it to any external libraries so I assume it is the standard c/c++ library. However I can't locate it, can anyone help me with some information regarding this library
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    <new> is a C++ header file. Header files are not libraries. You should be able to locate this in the same folder with all of thwe other standard C++ headers. The <new> header constains various function prototytpes for operator new and operator delete.

    Most likely, you are using an external library since part of C++ is distributed in library form.

    Comment

    Working...