The C versions of <limits>
are called <limits.h>
and <float.h>
respectively. They are not code compatible with the funcions in C++ <limits>
but serve the same purposes.
<algorithm>
is a pure C++ library header and cannot be used in C programs. If your code relies on features from <algorithm>
, they will have to be rewritten from scratch.