Putting odd size int enums into very small struct?

后端 未结 0 1868
醉梦人生
醉梦人生 2021-02-20 10:07

I have a struct that represents common playing cards using few bits.

struct Card {
    unsigned short suit : 2;
    unsign         


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