数学建模社区-数学中国
标题:
代码中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])是什么意思?
主要是这个运算符 -> 不明白有什么作用。在书上查到说是 通过指针的成员选择 , 不明白是什么意思。
: f- ?' U5 v% J+ G: y) \
这句话到底说的是什么意思?
( _. P% E4 A/ H# I
old_pop_ptr->ind_ptr = &(old_pop_ptr->ind[0]);
" n$ L8 D. F" _- `- ^# l" F# S6 W
这是nsga中的一段话,有想要nsga程序的可以留下邮箱
作者:
chouyule
时间:
2009-3-21 15:37
我已经知道了 以前没接触过结构体 实际上->是结构指针特有的 看了结构体那块就明白了
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5