s*******e 发帖数: 664 | 2 ☆─────────────────────────────────────☆
Ramboiory (暗黑八神庵) 于 (Tue Jun 23 17:25:14 2009, 美东) 提到:
[问题1]
代码如下:
class Weather
{
public:
static void (Weather::*m_fpAction)();
void StayIn();
void StayOut();
};
void (Weather::*m_fpAction)() = &Weather::StayIn; //初始化
报错如下:
Linking...
1>class.obj : error LNK2001: unresolved external symbol "public: void __
thiscall Weather::StayIn(void)" (?StayIn@Weather@@QAEXXZ)
1>D:\Documents\Study\Research_in_UIUC\Projects\Wireless Scheduling\VC_
Pro |
|