《C++ Primer Plus 第6版》读书笔记
知识点:
1.
#include "stdafx.h"
#include <fstream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
ofstream outFile; //写文件
//ifstream inFile; //读文件
outFile.open("test.txt"); //创建新文件
//outFile = cin 操作相同
outFile << "in data";
outFile.close();
return 0;
}