いいえ、that's wrong think.みけCAT さんが書きました:I don't think that this is right.
"size" is declared but not defined in a.h
Also, problem already solved.
There we already declared AND defined A::size.
The problem, as I understand, was next – in main.cpp was included a.cpp
So, linker will say "A::size defined many times"