69,379
社区成员
发帖
与我相关
我的任务
分享
ios::app//这里是一个打开方式,你写的APP是啥意思?
ofstream in;//这是定一个流。。
in.open("E:\\lixn.h",'w');
为什么一定要写成这样?
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
int main() {
ifstream in;
in.open("E:\\lin.h",'w');
}