我在一个.h的文件中声明了 BOOL m_Num1[256] 的变量,在另一个文件中写了extern BOOL m_Num1[],在连接的时候报错Display2.obj : error LNK2001: unresolved external symbol "int * m_Num1" (?m_Num1@@3PAHA)
Debug/TestP.exe : fatal error LNK1120: 1 unresolved externals#include "stdafx.h"
#include "testp.h"
#include "Display2.h"
#include "SetDlg.h"
//#include "TestPView.h"
extern BOOL m_Num1[];#ifdef _DEBUG#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
请各位师兄师姐帮帮忙吧 都快愁死了!