Updating the old function which tests if a file exists or not by a new one based only onto C++ standard library. Previously, genericFeatures class was using fopen function to test file existence and will force us in future to rewrite this function for windows portability/security. Instead of completing the fileExist function with a conditional preprocessor instruction and the fopen_s function for windows, the use of standard streams was privilegied for its portability
Updating the old function which tests if a file exists or not by a new one based only onto C++ standard library. Previously, genericFeatures class was using fopen function to test file existence and will force us in future to rewrite this function for windows portability/security. Instead of completing the fileExist function with a conditional preprocessor instruction and the fopen_s function for windows, the use of standard streams was privilegied for its portability