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

📄 utility.h

📁 应用编码与计算机密码学>程序 如果好的话请发言
💻 H
字号:
/**********************************************************************
*Function: 常用函数构成工具包
*Author:   吴丹 00234015 3号
*Date:     2003/3/13
*Version:  V1.0
***********************************************************************/
#ifndef __mypackage
#define __mypackage

#include <iostream.h>
#include <limits.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>   
#include <stddef.h>
#include <fstream.h>
#include <ctype.h>
#include <time.h>
#include <string.h>


enum  Error_code {success,fail,range_error,underflow,overflow,fatal,
		  not_present,duplicate_eror,entry_inserted,entry_found,
		  internal_error};

bool users_says_yes();   //用于询问用户
int openInFile(ifstream&); // 用于打开输入文件
int openOutFile(ofstream&); // 用于打开输出文件
 
#endif

⌨️ 快捷键说明

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