定位到文件夹 char str[260]; char filename[260]; sprintf_s(filename,"%d%d%d",nYear,nMonth,nDay); strcpy_s(str,"..\\log\\"); strcat_s(str,filename); strcat_s(str,".txt"); char strSel[260]; strcpy_s( win32 SDK 2024-01-19 35 点赞 0 评论 53 浏览