From 1d53b7691219c877e5d75a5eaf4d252df94c498f Mon Sep 17 00:00:00 2001 From: p2jvg4k7s <274055206@qq.com> Date: Wed, 26 Jun 2024 10:09:10 +0800 Subject: [PATCH] Delete '1.cpp' --- 1.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 1.cpp diff --git a/1.cpp b/1.cpp deleted file mode 100644 index 177e22c..0000000 --- a/1.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include -using namespace std; -class Time -{ -public: - void setTime(); - void showTime(); - int hour, minute, sec; -}; - -void fun(Time &t) -{ t.hour=23; } - -void Time::setTime() -{ cin>>hour>>minute>>sec; } - -void Time::showTime() -{ cout<