当水道中的交通密度大于最佳交通密度时,船舶交通量会()。
A、增加
B、下降
C、不变
D、无规律
参考答案:B
人格
写出下列程序的运行结果 【13】 。#include <iostream.h>.#include <fstream.h>#include <stdlib.h>void main(){fstream outfile, infile;outfile.open("data.clat", ios:: out);if(!outfile){cout<<"Can’t open the file."<<end1;abort();}outfile<<" 1234567890"<<end1;outfile<<"aaaaaaaaa"<<end1;outfile<<"**********"<<end1;outfile.close();infile.open("data. dat ", ios:: in);if(!infile){cout<<"Can’t open the file."<<end1;abort();}char line[80];int I=0;while(!infile. eof()){I++;infile.getline(line, sizeof(line));cout<<I<<":"<<line<<end1;}infile.close();}