原贴由发表: 这个错误的原因如楼上所说 楼主有兴趣可以看看这个https://www.xiansky.com/posts/list/2
原贴由发表: char * file_name = "A.prt", 改为 char *file_name; char name[