C++
文章平均质量分 77
重构
New life and redistribution of wealth.
展开
-
C++链表方式实现将数据压入栈
Stack.h class Struct_Stack { public: int data; Struct_Stack * next; }; #include using namespace std; class Stack { private: Struct_Stack * L; //头 Struct_Stack * ptr;原创 2014-05-03 00:37:29 · 971 阅读 · 0 评论 -
C++获取系统时间
# include #include using namespace std; class Date { public : int Getyear(); int Getmonth(); int Getday(); int Gethours(); int Getminutes(); int Getseconds(); void GetCurrent原创 2014-05-03 00:42:55 · 557 阅读 · 0 评论