include string.h header, it will be not included automatically under Linux/gcc, and cause an error.
Attach a file by drag & drop or click to upload