I am porting a project to the iPhone and it uses realloc and memcpy which are not found. What is the header to include?
realloc
memcpy
It\'s a project mix
In C++ it's more idiomatic to use std::copy than C's memcpy, although the latter does work just as well. To get std::copy, you need to #include .
std::copy
#include
There's not a direct C++ equivalent to realloc, though.