bintype.h

来自「datastucutre and algorithms, application」· C头文件 代码 · 共 16 行

H
16
字号

// class used for first-fit packing

#ifndef binType_
#define binType_

struct binType
{
   int unusedCapacity;

   bool operator <= (binType& right) const
   {return (unusedCapacity >= right.unusedCapacity)? true : false;}
};

#endif

⌨️ 快捷键说明

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