Dear all, I have a small question
classA{
private:
vector<classB*>items;
public:
vector<classB*> returnVectors();
}
main(void)
{
/* anything else */
vector<classB*>items2 = returnVectors();
/* processing items2 */
}
Can any change to item2's members change items' members?
Or is there another way to do it?
I want to change items values from outside the class.. Please help me..
--
●●●●●●●
විශ්ව
●●●●●●●
[Non-text portions of this message have been removed]
