From 112a0d344da9e66d20ee9ab5d488e59c5d52e6ad Mon Sep 17 00:00:00 2001 From: Angeld55 Date: Thu, 9 Apr 2020 18:09:42 +0300 Subject: added new examples --- Big4AndInheritance/Students/User.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 Big4AndInheritance/Students/User.h (limited to 'Big4AndInheritance/Students/User.h') diff --git a/Big4AndInheritance/Students/User.h b/Big4AndInheritance/Students/User.h deleted file mode 100644 index d84bd71..0000000 --- a/Big4AndInheritance/Students/User.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#include -using namespace std; -class User -{ -private: - char* name; - int age; - void CopyFrom(const User& other); - void Free(); -public: - //User(); - User(const char*name, int age); - User(const User& other); - User& operator=(const User& other); - ~User(); -}; -- cgit v1.3.1-23-gd82d