#include // Fichier main.cpp #include "Stack.h" using namespace std; int main(void) { Stack< int > s1; s1.push(1); s1.push(2); s1.push(3); while(!s1.empty()) { cout << s1.pop() << endl; } Stack* s2 = new Stack; s2->push(1.0); s2->push(2.56); s2->push(3.14); while(!s2->empty()) { cout << s2->pop() << endl; } delete s2; return 0; }