63 839
Assignments Done
99,2%
Successfully Done
In August 2018

Answer to Question #514 in C++ for Mathew

Question #514
Why do classes with static data receive errors when linking?
Expert's answer
Because the static data of the class should be defined only in one translation unit. If you do not do this, you will probably get a “undefined external” configuration error. The usual place to determine static variables of the class is a *. cpp file of this class.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions