restructure and add ipi texs

This commit is contained in:
2019-11-06 18:24:04 +01:00
parent e21da561fc
commit 8fd8d2a485
155 changed files with 129 additions and 0 deletions
@@ -0,0 +1,20 @@
#include<cassert>
#include<iostream>
#include"DLL.hh"
#include"Stack.hh"
int main ()
{
Stack<int> s1;
for (int i=1; i<=5; i++)
s1.push(i);
Stack<int> s2(s1);
s2 = s1;
while (!s2.empty())
{
std::cout << s2.top() << std::endl;
s2.pop();
}
}