#include <io.h>
if (_access(strPath, 0) == -1) //第一个参数为文件路径或者文件夹的路径
return false;
#include <io.h>
if (_access(strPath, 0) == -1) //第一个参数为文件路径或者文件夹的路径
return false;
上一篇:字符串截取实例
下一篇:ChartCtrl类简介
目录一.目的1.想知道:unity 判断路径是否存在或者文件夹是否存在1.想实现的功能:某路径下,检查是否有名字为“1”-“20”名字的文件夹。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M