enum protocol {
ascii_prot = 3, /* arbitrary value. */
binary_prot,
negotiating_prot = 4 /* Discovering the protocol */
};
双方binary_prot
和negotiating_prot
等于4
?
发布于 2018-03-02 17:12:32
是; C不是关于枚举值的。
https://stackoverflow.com/questions/-100003561
复制相似问题