c - Cannot open include file: 'libgen.h' -
i want use basename
function. include this:
#include <libgen.h> char *dirname(char *path); char *basename(char *path);
but visual studio show me error :
error c1083: cannot open include file: 'libgen.h': no such file or directory intellisense: cannot open source file "libgen.h"
is libgen.h
not reference header file? why can't include? in advance.
Comments
Post a Comment