Hello and thanks for CodeRunner which I've started using with my students.
It seems that the strdup() function, although available in the library, is NOT defined in string.h.
__tester__.c: In function ‘main’: __tester__.c:8:16: error: implicit declaration of function ‘strdup’; did you mean ‘strcmp’? [-Werror=implicit-function-declaration] char * p = strdup("7\n6\n8\n2\n");
Can it be because it's not a ISO C function but a POSIX One?