c++ - Static struct linker error -


Structure Structure Static Hubbish White; Stable hbr yellow; };

But this is not working, I am getting: Error 4 error LNK2001: Unsolved external symbol "Public: Static structure HBRUHHU * Brushed white" < P> Why?

The idea is to be able to use brushes :: white , brushes :: yellow for example brush .

You must define static members somewhere, usually in the .cxx file, such as:

  hbrush brush :: white;  

The reason for this is that the header file does not define the definition, only it declares.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -