C ++ standard headers do not use .h. Everything else does (or, more precisely, everything else uses any extension that he wants, .h, .hxx, .hpp, .hh, etc.).
Standard C headers can be included in one of two ways:
#include <stdio.h> #include <cstdio>
The second form wraps its characters in the std .
The initial intention was that the headers could, in principle, be stored in the database in some highly optimized pre-compiled state, in which case the idea of โโfile extension does not make sense. I do not know that this has ever happened in practice.
source share