main.cpp
/**
 * Custom function for check, that file is exist.
 */
Custom function for check, that file is exist.
Custom function for check that file is exist .
bool FileIsExist(std::string filePath) {
    bool isExist = false;
    std::ifstream fin(filePath.c_str());
    if(fin.is_open())
        isExist = true;
    fin.close();
    return isExist;
}
bool FileIsExist ( std :: string filePath ) { bool isExist = false ; std :: ifstream fin ( filePath . c_str ( ) ) ; if ( fin . is_open ( ) ) isExist = true ; fin . close ( ) ; return isExist ; }
Custom function for check, that file is exist.
Custom function for check that file is exist .