diff --git a/ex1.cpp b/ex1.cpp new file mode 100644 index 0000000..b54e296 --- /dev/null +++ b/ex1.cpp @@ -0,0 +1,20 @@ +#include +#include + +class MyClass{ + public: + int val=0; + MyClass(int val) + :val(val){}; +}; + +int main() { + std::vector myitems; + for (int i=0;i<20;i++) { + myitems.push_back({i}); + } + for (int i=0;ival++; + std::cout<