A struct definition works if defined in .cpp but not in .h file

前端 未结 0 1134
执念已碎
执念已碎 2021-01-04 00:34

I defined a struct contains variables and an array and after that defined a function with the return type of that struct in the .cpp file and everything worked good.

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