Computer/C++
ofstream으로 파일 출력
Gu Youn
2009. 7. 4. 00:52
#include <fstream>
using namespace std;
ofstream out("c:\\ou.txt",ios_base::out | ios_base::app);
out << std::endl;
out << "===find call-k and put-k test====" << std::endl;
out.close();
using namespace std;
ofstream out("c:\\ou.txt",ios_base::out | ios_base::app);
out << std::endl;
out << "===find call-k and put-k test====" << std::endl;
out.close();