if ((envFilePtr = fopen("beEnv.txt", "r")) == NULL )
{
printf("Error in opening the file... \n");
return FAILURE ;
}
It is able to read that, if we place in the same directory as executable.
But as per our requirement we have to place it independent of executable & also...
Hello All,
I am facing one problem, we have one application which calls a shared library ,which reads one configuration file. In this configuration file log file path & some other paramaters are defined.If the config file is placed in the same directory in which the executable(i.e application)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.