Dear All,
i have copied the code from CBOARD FAQ section to find the current working dir...but my compiler showing header file not found??
i am using window 2000 operating system
could any body help me correct header files for me?Code:#include <sys/param.h>
#include <unistd.h>
#include <stdio.h>
int main(void)
{
char buf[MAXPATHLEN];
if( getcwd( buf, MAXPATHLEN ) )
{
printf( "%s\n", buf );
}
return 0;
}