摘要: #include<bits/stdc++.h> #define TRUE ((_BOOL)1) #define FALSE ((_BOOL)0) struct _BOOL{ char status; _BOOL(){ status=0; } _BOOL(int x){ if(x>0)status=1 阅读全文
posted @ 2022-04-16 15:19 计算机知识杂谈 阅读(36) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; struct Array_iterator{ int *ptr; void operator++(){ ptr++; } int operator*(){ return *ptr; } bool operato 阅读全文
posted @ 2022-04-16 13:21 计算机知识杂谈 阅读(33) 评论(0) 推荐(0) 编辑