数学建模社区-数学中国

标题: 代码中old_pop_ptr->ind_ptr = &(old_pop_ptr->ind[0])是什么意思? [打印本页]

作者: chouyule    时间: 2009-3-20 17:28
标题: 代码中old_pop_ptr->ind_ptr = &(old_pop_ptr->ind[0])是什么意思?
主要是这个运算符 -> 不明白有什么作用。在书上查到说是 通过指针的成员选择 , 不明白是什么意思。
) D1 h+ U" ?% n7 Z9 _这句话到底说的是什么意思?& n5 D  W- u3 b& g! c1 D, S; B. \
old_pop_ptr->ind_ptr = &(old_pop_ptr->ind[0]);
. S! }% e! M8 }4 L& _1 A) C这是nsga中的一段话,有想要nsga程序的可以留下邮箱
作者: chouyule    时间: 2009-3-21 15:37
我已经知道了  以前没接触过结构体 实际上->是结构指针特有的 看了结构体那块就明白了




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5