== Why is this an issue? The use of C headers and therefore C functions in a {cpp} program, is sometimes necessary, but should be avoided in favor of {cpp} headers and functions. === Noncompliant code example [source,cpp] ---- #include ---- === Compliant solution [source,cpp] ---- #include #include ---- == Resources * MISRA {cpp}:2008, 18-0-1 - The C library shall not be used. ifdef::env-github,rspecator-view[] ''' == Implementation Specification (visible only on this page) === Message Use the equivalent {cpp} header instead of XXX ''' == Comments And Links (visible only on this page) === is duplicated by: S1770 endif::env-github,rspecator-view[]