In my program I have created a linked list and I want to go through it with an iterator and in a position x modify a value in the list. I've been searching the internet and I've seen several examples but none of them work for me, I think there's something basic that I'm doing wrong, the code:
...
list<Avion>::iterator it; //creando iterador
it = flotaAviones.begin(); //igualando iterador a principio de lista
while (*it == false)
{
in this line, after the point according to the examples that I have seen on the internet, all the methods and attributes of the avion class should come out, because with the iterator I am pointing to the place in the list where a plane type object is stored. Well this does not happen)