代码:
#include "stdafx.h"
#include "Test_Banana.h"
#include "Test_BananaDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
#include <fstream>
应该这样写
#include "stdafx.h"
#include "Test_Banana.h"
#include "Test_BananaDlg.h"
#include <fstream>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
//#include <fstream>
就是说头文件尽量放在文件的最前面,至于原因是不太清楚,有兴趣有可研究一下