Include cstring. Add "std::" prefix to strcpy.