下列程序用于将源文件中的字母进行大小写转换,while的条件是 【14】
#include<iostream. h>
#include<fstream. h>
#include<iomanip. h>
void main( )

char ch;
fstream filel, file2
char fn1[10], fn2[10];
cout<<"输入源文件名:";
cin>>fn1
cout<<"输入目标文件名:";
tin>>fn2
file1, open(fn1 ,ios: :in);
file2, open(fn2, ios:: out);
while(________)

if(ch>=’a’&&ch<=’z’)
ch=ch-’a’+’A’,
file2, put(ch),

file1, close( ),
file2, close( );

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

下列程序用于将源文件中的字母进行大小写转换,while的条件是 【14】
#include<iostream. h>
#include<fstream. h>
#include<iomanip. h>
void main( )

char ch;
fstream filel, file2
char fn1[10], fn2[10];
cout<<"输入源文件名:";
cin>>fn1
cout<<"输入目标文件名:";
tin>>fn2
file1, open(fn1 ,ios: :in);
file2, open(fn2, ios:: out);
while(________)

if(ch>=’a’&&ch<=’z’)
ch=ch-’a’+’A’,
file2, put(ch),

file1, close( ),
file2, close( );

下列程序用于将源文件中的字母进行大小写转换,while的条件是 【14】 。    #include<iostream. h>    #include<fstr

本题关键词:程序性文件,先决条件文件,通用条件,工序施工条件,工程费用支付条件,房地产转让条件,进度管理文件,质量管理体系程序文件,不良航行条件,道路通行条件;

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