added import <cstring> to main.C