I m a C++ noob programmer... (I usually use Java) and now I ve got some problems with pointers, references and vectors...
页: 1 目标代码>,从vector<Object> Object
and for simplicity i 我想在另一个物体中储存his reference, I need to edit some criteria within it many倍
这是迄今为止撰写的法典:
Object myObject = getMyObject(id, objects);
www.un.org/chinese/sc/presidency.asp 右铭object
, 右边id
,并以<代码>returnbject[i]将其退回
但是,如果我理解正确的话,这种方法就重复了目标! 页: 1 是否正确?
我怎么办?
非常感谢!