util.h
来自「关联规则中的频繁项集生成算法genmax」· C头文件 代码 · 共 17 行
H
17 行
#ifndef _UTIL_H#define _UTIL_H#define boolean chartypedef int (*CMPFUNC) (const void * a, const void * b);template <class Items>class Util{public: static boolean Bsearch(int min, int max, Items *itary, Items it, CMPFUNC cfunc, int& ret); static int Realloc (int newlen, int elsz, Items*&ary);};int Choose(int n, int k);#endif //_UTIL_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?