how to check the existence of a file
i recently write a udf,in order to check the existence of one file,i used the access function,(if (access(filename,0)==0).it works in vs-2005,but when i compile it in fluent,the error occur and it can't be compiled,any hints may help,thanks!
if (!(output_file = fopen(filename,"r")))
Error("unable to open file");
checks wether a file "filename" can be opened or not.
|All times are GMT -4. The time now is 01:50.|