diff --git a/main.cpp b/main.cpp index 291fa0d..d5ed216 100644 --- a/main.cpp +++ b/main.cpp @@ -17,5 +17,14 @@ int main() character->parler("Hey dude."); } + cout << endl; + anime.front()->parler("I'm in the front"); + anime.back()->parler("I'm in the back"); + + Personnage *second = *(next(anime.begin())); + cout << endl; + second->parler("I'm here too"); + // that sucked + return 0; }