From a763526f2bd86761380b02c0db40a86f7c0bc926 Mon Sep 17 00:00:00 2001 From: "alexis.drai" Date: Fri, 27 Jan 2023 11:10:04 +0100 Subject: [PATCH] =?UTF-8?q?Bastards!=20=F0=9F=A4=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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; }