I am trying to compile some code originally written in linux on my Windows machine. I have Cygwin installed and setup for use within CodeBlocks, and it works mostly. All except
This error message means that function is not declared at the point it is found. It looks like strptime() is declared in the time.h file in Cygwin (at least in v1.7.25) so simply add:
#include
to your source file. Note that strptime() is not a standard C function.