"File Could Not Be Opened" problem

xiaoxiao2021-03-06  101

I want to write an output email series address to the clinet.dat folder with C , but I have no problem, but the "File Could Be Opened" is displayed, I hope everyone will help me. Look at eight, the rookie younger brother is here! ! ! "using st :: cout; using st :: os; using st :: cerr; using st :: end1;

#include using std :: OFSTREAM;

#include

Int main () {OfStream Outclientfile ("Clients.dat, iOS :: Out"); if (! outclientfile) {CERR << "File Could Not Be opened." << Endl; exit (1);

While (1) {for (int i = 1; i <= 300; i ) {OUTCLIENTFILE << "0372" << i << "@ fudan.edu.cn; / n" << endl; cout << " ? ";}} Return 0;}

转载请注明原文地址:https://www.9cbs.com/read-97624.html

New Post(0)