下面的程序实现将一个一维数组写入到文件中。请填空。 #include
#include
using namespace std; const int N=5; int main() { double data[N]={90,85,82,88,75}; char filename[80]="d:\\data1.dat"; ofstream ofs; ofs.open(【 1 】); if(!ofs) { cout << "File not exist!"; return 1; } for(int i=0;i