In C:
#include <string.h> // memcpy
#include <stdlib.h> //realloc
In C++, remove the .h and prefix with a c. In C++, they will be placed in the std namespace, but are also global.
In C:
#include <string.h> // memcpy
#include <stdlib.h> //realloc
In C++, remove the .h and prefix with a c. In C++, they will be placed in the std namespace, but are also global.