c++怎么打开指定指定路径的文件
c++怎么打开指定指定路径的文件
日期:2017-10-04 03:55:39 人气:1
#include
#include
#include
char buffer[16*20];
int main()
{
char *str="c:\\ying";//目录名
FILE *pipe;
strcpy(buffer,"dir ");
strcat(buffer,str);
strcat(buffer," /b");
pipe=_popen(buffe