diff options
1 files changed, 0 insertions, 17 deletions
| -rw-r--r-- | Sem. 11/example/main.cpp | 17 |
diff --git a/Sem. 11/example/main.cpp b/Sem. 11/example/main.cpp deleted file mode 100644 index 80fef69..0000000 --- a/Sem. 11/example/main.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include<iostream> -#include<iostream> -#include "Person.h" -using namespace std; - -Person createPerson(const char* name, int age) -{ - Person p(name, age); - - return std::move(p); -} - -int main() -{ - Person p2("Petur",18); - p2 = createPerson("Ivan", 23); -} |
