Hello!
There is such a thing:
const int sm=10; class X{ ... public: struct SMOKE{ int sV; static int index_sm; }; static SMOKE SM[sm]; }; int X::SMOKE index_sm=0;// на это не ругается rocket_parent::SMOKE rocket_parent::SM;// ругается на это/ Всяк пробовал...
Here is what he writes:
error LNK2001: unresolved external symbol "public: static struct rocket_parent::SMOKE * X::SM" (?SM@X@@2PAUSMOKE@1@A) 1>C:\...\ : fatal error LNK1120: 5 unresolved externals