![]() |
#2
newyj2008-12-09 16:07
|
就是说 文件名是用户指定的,文件类型也就是TXT,我这样写为什么会错呢?
const str;
cin>>str;
const string filename=str+".txt";
ifstream infile(filename);
![]() |
#2
newyj2008-12-09 16:07
|
![]() |
#3
h130773959592008-12-09 16:54
|
![]() |
#4
asd67918682008-12-09 21:41
|
![]() |
#5
lionmusicyj2008-12-15 20:32
|