单项选择题
若磁盘上已存在某个文本文件,其全路径文件名为d:\shiti\tes.txt,下列语句中不能打开该文件的是( )。
A.ifstream file("d:\shiti\test.txt");
B.ifstream file("d:\\shiti\\test.txt");
C.ifstream file;file.open("d:\\shiti\\test.txt");
D.ifstream* pFile = new ifstream("d:\\shiti\\test.txt");
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
只能作为成员函数重载的是( )。
A.=
B.++
C.*
D.new
点击查看答案
单项选择题
为了避免流程图在描述程序逻辑时的灵活性,提出了用方框图来代替传统的程序流程图,通常也把这种图称为( )。
A.PAD图
B.N-S图
C.结构图
D.数据流图
点击查看答案
相关试题
若有以下程序: #include <iostream>...
有如下程序: #include <iostream> u...
对于下面定义的类MyClass,在函数f()中将...
若有以下程序: #include<iostream> u...
以下程序执行后的输出结果是( )。 #in...