How to points to a data item or structure
Suppose:I have a structure called A and a variable called B.How can I put B points to A? 问题点数:20、回复次数:2Top
1 楼fwinfwin(彩虹沙漠随风飘飘)回复于 2003-11-04 08:49:56 得分 5
try it;
A.B=&A;Top
2 楼acqy(Just Programmer)回复于 2003-11-04 08:52:19 得分 15
is B a member of A? If it is then:
struct A {
int .... // omitted
struct A *B; // B is a member of A and it points to a struct A
};
Top
相关问题
- LDSA -- Library of Data Structure and Algorithm
- 请问里有<the tomes of delphi:algorithms and data structure>这本书卖啊,最好是中文版
- data item中的项不能相同吗
- structure问题,online
- 《Data Structure With C++》 William Ford 清华大学出版社1996,有中译本了吗?thank you
- 关于VB.net的Structure
- E2288 Pointer to structure required on left side of -> or ->
- 如何设置DCB structure
- structure问题继续,online
- 加急!关于pb8 structure 的问题




