我有一个向量变量。我想将此变量添加为10。我想从添加的值中删除一个数字并编写一个新值。我给您的价值必须归功于我抹去的部分。你可以帮忙吗?
示例:
int id = Iter_Free();
VectorWrite(id, 123);
id = Iter_Free();
VectorWrite(id, 124);
id = Iter_Free();
VectorWrite(id, 125);
-> Vector Content: 123[ID: 0], 124[ID: 1], 125[ID: 2]
Iter_Remove(id, 124);
-> Vector Content: 123[ID: 0], 125[ID: 2]
VectorWrite(id, 128);
-> Vector Content: 123[ID: 0], 128[ID: 1], 125[ID: 2]