文件夹 新建文件问题
ios::noreplace 不能用求一个类似方法 新建文件夹顺便问下 "" 和 \ 怎么输出?
2012-04-13 23:51
2012-04-14 10:50
2012-04-14 12:49
程序代码:#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream in("xxx.xxx");
ofstream out("xx.xx");
if (in == NULL)
{
cout << "in==NULL" << endl;
}
if (out == NULL)
{
cout << "out == NULL" << endl;
}
}
2012-04-14 13:14
2012-04-14 15:55
2012-04-14 16:12