王老师:19139051760(微信同号)  13333709510
联大   青书学堂   文才   和学   现代兴业   安徽教育在线   超星   弘成   广东开放大学   国家开放大学   上海开放大学   含弘慕课 

教育服务

成人高校
成考录取分数线
我要提升学历
提升学历的理由:
升职加薪、积分落户、考研、公务员考试、子女入学、出国留学


成人高考报名入口

当前位置: 首页 > 联大系统 > 河南财经政法大学> 河南财经大学数据库基础与应用
 

输入试题:
本题添加时间:2024/9/3 9:07:00
圆梦客服:王老师  19139051760(微信同号)  19139051760(微信同号)
下面程序的运行结果如下:
This is line1

This is line2

This is line3

在下划线处填上缺少的部分。源程序如下:

#include

#include

using namespace std;

void main()

{

fstream fin, fout;

fout.open("my.txt",ios::out);

if(!fout.is_open())

return;

for(int i=0;i<3;i=i+1)

fout<<"This is line"<<><>< strong="">


fout.close();

fin.open("my.txt",ios::in);

if(! fin.is_open())

return;

char str[100];

while(!fin.eof())

{

fin.getline(str,100);

cout<<><>< strong="">


}

fin.close();

}

答案是:


出自 河南财经大学数据库基础与应用  联大系统

河南财经政法大学

更多试题>>>>
1、#include using namespace std; template T fun(T x) { _____y; y=x*x
2、下面程序的运行结果如下: B::display() C::display() 在下划线处填上缺少的部分。源程序如下: #include using namespace std;
3、#include using namespace std; class base { private:int x; public:base(int a){x=a;} int get(
4、完成下面程序,使其输出l0,并在退出运行时正确释放分配给指针的存储空间。 #include using namespace std; void main() { int *a,*p; a=new int(
5、给出下面程序的输出结果 #include using namespace std; class Simple { int x,y; public: Simple(){x=y=


提升学历-成人高考报名入口 提升学历-成人高考院校名单