Home  >  Article  >  Backend Development  >  Which C Standard Library Headers Explicitly Include Others?

Which C Standard Library Headers Explicitly Include Others?

Susan Sarandon
Susan SarandonOriginal
2024-11-01 00:00:28828browse

Which C   Standard Library Headers Explicitly Include Others?

Which Headers in the C Standard Library Include Others?

In general, programmers should not assume that one C standard library header will include another. However, there are certain exceptions where one header is explicitly required to include or provide functionality of another.

Included Headers

  • is included by:

  • includes:

  • includes:

  • includes:

Functions Available Without Explicit Header Inclusion

  • The functions begin, end, their C 14 c-, r-, and cr- versions, and the C 17 functions size, empty, and data are defined in but are also available when any of the following headers are included:

  • When is included, the begin and end functions and the generic swap overloads are available, but size, empty, and data are not.

The above is the detailed content of Which C Standard Library Headers Explicitly Include Others?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn