include
#include
#include
#include
using namespace std;
void main()
{
char filePath[256] = {0};
char tmp;
char *q = filePath;
printf("请输入文件路径:");
while (true)
{
tmp = getchar();
if (tmp != '\n')
{
*q=tmp;
q++;
}
else
break;
}