From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject C/C++ (Rated NA-class, Low-importance)
WikiProject icon This redirect is within the scope of WikiProject C/C++, a collaborative effort to improve the coverage of C/C++ on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 NA  This redirect does not require a rating on the quality scale.
 Low  This redirect has been rated as Low-importance on the importance scale.

Not a part of API?[edit]

Please explain why is inttypes.h not a part of API?
Jobin (talk) 15:52, 19 September 2011 (UTC)

Move to stdint.h[edit]

This article is currently incorrect. Those int types are defined in stdint.h. --hdante 21:45, 10 January 2007 (UTC)

Well, it's correct that these types are defined in stdint.h, but they're also defined in inttypes.h. The standard says this:

    The header <inttypes.h> includes the header <stdint.h> and extends it with
    additional facilities provided by hosted implementations.

The article is incomplete. inttypes.h declares many macros and functions that it does not mention. Pfaffben 23:59, 10 March 2007 (UTC)


inttypes.h includes stdint.h - it does not define the integral types itself. From the source:

The <inttypes.h> header shall include the <stdint.h> header.

The <inttypes.h> header shall define at least the following type:


Information about stdint.h should go in the article for that header, not here.

-- strcat (talk) 00:58, 4 October 2011 (UTC)

Do you mean the whole article needs to be merged or is it that "Rationale" needs to be merged to stdint.h? Please clarify.

Jobin (talk) 07:14, 4 October 2011 (UTC)

Merge with stdint.h[edit]

inttypes.h includes stdint.h, inttypes.h contains the macros/functions whereas stdint.h contains the typedefs, these need to be dealt with separately, please reconsider merge.
Jobin (talk) 17:09, 5 October 2011 (UTC)

Undid removal[edit]

Please reconsider removal of the table giving syntax of macros in inttypes.h. It provides a good idea about the macros defined in inttypes.h. Please provide a valid reason
Jobin (talk) 08:41, 6 October 2011 (UTC)