求教一文件问题怎么样创建一个函数,参数为一文件名string,函数实现是打开那个文件。[解决办法]fopen[解决办法]FILE *fun(string path){ return fopen(path, "r+");}