Hi ,
I am trying to open a File in C++ . But the File is prepared by a Batch and if the file is not there I want to sleep for a while and attempt again to open the File. But not infinitely ..I will try opening the File (say for 2 Minutes) and if still the File is not there , I want to exit after throwing an Error,
How do I implement this..
Regards
Dev
I am trying to open a File in C++ . But the File is prepared by a Batch and if the file is not there I want to sleep for a while and attempt again to open the File. But not infinitely ..I will try opening the File (say for 2 Minutes) and if still the File is not there , I want to exit after throwing an Error,
How do I implement this..
Regards
Dev