单项选择题

在窗体上有一个命令按钮,然后编写如下事件过程   Private Sub Command1 _ cickc ( )     a=InputBox("enter the first integer")     b=InputBox("enter the second integer")     Print b + a   End Sub   程序运行后,单击命令按钮,先后在两个输入框中分别输入“2”和“6”,则输出结果为( )。

A.ifstream fin;fin.open("C:\\test.txt");
B.ifstream fin("C:\\test.txt");
C.A)和B)
D.ifstream fin;fin("C:\\test.txt");