OpenCV 查错---更新中

来源:互联网 发布:海岛奇兵雕像数据 编辑:程序博客网 时间:2024/06/05 14:47

1.  语法错误 : 标识符“_TCHAR”

添加一条 #include <tchar.h> 即可成功编译

2. 未定义标识符ofstream
#include <fstream>
#include <iostream>
using namespace std;

ofstream out1("TEXT1.txt",ios::app);
ofstream out2("TEXT2.txt",ios::app);
out1<<变量<<endl;
out2<<变量<<endl;


0 0
原创粉丝点击