推 ric2k1:You need to initialize the static variable of a class 04/08 09:01
→ ric2k1:in some .cpp file. 04/08 09:02
→ ric2k1:Ant's book, v5, Sec 10.7. 04/08 09:05
→ trancewu:謝謝教授,OK了 04/08 11:05
推 aemaeth:那我想請問一下initial的值是自己訂的嗎@@? 04/08 13:10
推 ric2k1:For a class object, "A a;" is a declaration and initial 04/08 17:17
→ ric2k1:It will call the default constructor for initialization 04/08 17:18
推 aemaeth:嗯嗯 謝謝教授! 04/09 01:01