change the value of a variable of an object that is in a vector of objects in a class
I'm getting way out of my regular field to do this and I've been running into some stupidly complex situations.
I've declared a class which has a variable "int activacion" and then I've made another class which has a vector of objects of this previous type.
Then I've done another class which has a vector of the lattest.
I'd find it completely normal if I just couldn't go on but the thing is I'm not having trouble READING the values using getValue(), and I just can't seem to be able to change it using the same line of code with setValue();
It's like the value is fixed. It compiles allright, it just does not change the value.
Thanks in advance.