关于error LNK2019 错误自己的代码有一个这样的链接错误,然后搜了一下,找到MSDN里的说明这个错误的示例代码
// LNK2019b.cpp// LNK2019 expectedstruct C { static int s;};// Uncomment the following line to resolve.// int C::s;int main() { C c; C::s = 1;}