Problème std::vector <std::string >
Bonjour,
Alors voilà un std::vector qui fait planter toute l'application quand je veux ajouter une chaine de caractère définie....
Code:
1 2 3 4 5 6 7 8 9
|
void newline(void)
{
log_list.push_back("-> : "); // Ne fonctionne pas
log_size++;
last = log_list.end(); // Ne fonctionne pas non plus
return ;
} |
Et pourtant l'initialisation fonctionne
Code:
1 2 3 4 5
|
log_list.clear();
log_list.push_back("-> : ");
log_size = 1;
last = log_list.begin(); |
Si une âme charitable avait un petit indice...
Merci d'avance...
:aie: