Tuesday, November 3, 2020

C++ standard library

C++ standard library

  1. MODULE 23a - C++ NAMESPACES 2
    • C++ library entities such as functions and classes are declared or/and defined in one or more standard headers. To make use of a library entity in a program, as in C program, we have to include them using the include preprocessor directive, #include.
    • The Standard C++ library headers as shown in Table 23.1 together with the 16 Standard C headers (C++ wrappers - get the ideas of the wrappersswig.org) shown in Table 23.2, constitute an implementation of the C++ library.
    • If you want to use functions, structure, macros and other built-in item available in the Standard C headers in C++ programming environment or ISO/IEC C++ compilers, use the C++ wrappers.
    • These C++ wrappers are C headers that prefixed by c character such as from .
    • Other than those ISO/IEC C and ISO/IEC C++ Standard headers should be implementation dependant, it is non standard. Keep in mind that there are a lot more non standard headers that you will find.

  2. C Standard Library Reference Tutorial
  3. Useful resources:: ISO/IEC standard
  4. C library function - malloc()
  5. The C++ Standard Library Tutorial
  6. C++ New Library - operator delete[]
  7. operator delete, operator delete[]
  8. new and delete operators
  9. delete() in C++
  10. new and delete operators in C++ for dynamic memory
  11. My Rant on C++'s operator new
  12. Why shouldn't C++ operator new/delete/variants be in header files?
  13. C++ Memory Management: new and delete
  14. An Introductory STL tutorial
  15. Practical Guide to STL
  16. How to wrap an MFC collection into an STL compliant iterator with the Boost iterator_facade
  17. find_first_of: A performance pitfall among the STL algorithms
  18. An Addition to Smart List classes

1 comment:

  1. Thanks for sharing such a nice blog. I really appreciate that please keep on posting more Blogs like this Thank you. printer not activated error code 20

    ReplyDelete