以下程序的执行结果是_______。
#include<iostream.h>
#include<fstream.h>
#include<stdlib.h>
void main( )

char ch:
fstream file:
file.open("abc.dat",ios::out1ios::inlios::binary);
if(! file)

cout<<“abc.dat文件不能打开”<<endl:
abort( );

file<<“12 34 56”<<endl:
file.seekg(o,ios::beg):
while(!file.eof( ))

streampos here=file.tellg( );
file.get(ch):
if(ch==’’)
cout<<here<<"":

cout<<endl:

题库:计算机等级考试 类型:填空题 时间:2017-07-03 15:23:19 免费下载:《填空》Word试卷

以下程序的执行结果是_______。
#include<iostream.h>
#include<fstream.h>
#include<stdlib.h>
void main( )

char ch:
fstream file:
file.open("abc.dat",ios::out1ios::inlios::binary);
if(! file)

cout<<“abc.dat文件不能打开”<<endl:
abort( );

file<<“12 34 56”<<endl:
file.seekg(o,ios::beg):
while(!file.eof( ))

streampos here=file.tellg( );
file.get(ch):
if(ch==’’)
cout<<here<<"":

cout<<endl:

以下程序的执行结果是_______。  #include<iostream.h>  #include<fstream.h>  #include<stdlib.h

本题关键词:行为结果,行为结果评价,竣工结算程序,行政诉讼程序,结果,执行过程组,程序,结果均,下果藤,行政许可听证程序;

微信扫码获取答案解析
下载APP查看答案解析