Use the C++-specific headers:

```
#include <cstdio>
#include <cstdlib>
```