How to pass around pointer in struct?

前端 未结 0 1285
清酒与你
清酒与你 2020-11-22 07:06

I think I am not properly dereferencing the thing in my struct. It compiles but I get a wrong value. What am I doing wrong?

struct MyStruct {
  Thing* thing         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题