【发布时间】:2013-11-07 16:33:25
【问题描述】:
我想遵循这个架构:
//Read filename
string filename;
cout << "ONLY Name of the file you want to read, not directory: ";
cin >> filename;
//Find file in disk C and open it
ifstream ifs(.................);
while( int cc = FileRead( ifs, buff ) ) {
etc. (trivial)
}
【问题讨论】:
-
你想制作一个程序,在HD中搜索带有参数名称的文件并读取它?
标签: c++ file parameters directory