若目前D盘根目录下并不存在test. txt文件,则下列打开文件方式不会自动创建test.txt文件的是()。A)

若目前D盘根目录下并不存在test. txt文件,则下列打开文件方式不会自动创建test.txt文件的是()。 A) ifstream fin; fin. open("d:\\test.txt", ios_base::in); B) fstream fio; fio. open("d:\\test. txt", ios_base::out); C) ofstream fout; fout. open("d:\\test. txt", ios_base::out); D) ofstream fout; fout. open("d:\\test. txt", ios_base::app);

时间:2023-09-26 15:25:48

相似题目