⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data_cmp.h

📁 AA制消费管理系统 要深入学习C++面向对象编程的同学可以看看。
💻 H
字号:
#ifndef _DATA_CMP_H
#define _DATA_CMP_H

#include <string>

using namespace std;

class C_check_cmp
{
public:
	static int check_doulble(string str_double);//********************检查 金额类 输入的范围 并返回错误类型
	static int check_date(string str_date);//*************************检查 日期类的 输入范围 并返回错误类型
	static int check_int(string str_int,int num);//*******************检查 手机输入的 范围 并返回错误类型
	static int check_char(char ch,int num);//*************************检查 菜单输入的范围 并返回错误类型
	static int check_sex(string str_sex);//****************************检查性别 的输入范围 并返回错误类型
	static int check_Id(string str_Id);//******************************检查ID的输入范围 并返回错误类型
	static int check_consumMoney(string str_double);//*****************检查 消费金额的 输入范围 并返回 错误类型
	static int check_consumTotalNum(string str_int);//*****************检查消费的总人数 并返回错误类型
	static int check_joincomsumId(string str_id,int num);//************检查参加消费的 帐号输入 并返回错误类型
	static int check_absentcomsumId(string str_id,int num);//**********检查缺席的帐号输入 并返回错误类型
	static int check_searchConsumId(string str_id);//******************检查查询的帐号输入 并返回错误类型
	static int check_searchBegin_LastDay(string begin_date,string last_date);//****比较两个日期的大小 并返回错误类型
	static int checkFileName(string fileName);//**********************************检查文件的输入范围 并返回错误类型





};
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -