C++ and C libraries and the std namespace

All C++ standard library names, including the C library names, if you include them, are defined in the namespace std using the following C++ syntax:

#include <cstdlib> // instead of stdlib.h

This means that you must qualify all the library names using one of the following methods:

Note

errno is a macro, so it is not necessary to qualify it with a namespace.

Show/hideSee also

Reference

Compiler Reference:

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0475C
Non-ConfidentialID080411