Hey everybody,

i hope my question wasnt mentionned in FAQ:

Ok, i'm working on a very simple project but when it comes to implementing the methode advance to increment the iterator current, it doesnt work and says list iterator not incrementable, heres the code:

void liste::avancer()
{

courant++;

}

and heres the constructor one:

liste::liste(void)
{
courant = maliste.begin();
}

when i call the 'avancer' method from the main i have an error: list iterator not incrementable

Thanks in advance