That can certainly be stored within each struct as a member of the struct. However, I don't know why he'd need it at all given that he wants to store the rooms in an array; he can just do some math to ...
面对某个人的大型 C/C++程序时,只看其对 struct 的使用情况我们就可以对其编写者的编程经验和水平进行评估。因为一个大型的 C/C++程序,势必要涉及一些(甚至大量)进行数据组合的结构体,这些结构体可以将原本意义属于一个整体的数据组合在一起。从某种程度 ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果