task.h

来自「这是数据结构、算法与应用-C++语言描述的代码」· C头文件 代码 · 共 20 行

H
20
字号
// task struct used in machine shop simulation
#ifndef task_
#define task_

using namespace std;

struct task
{
   int machine;
   int time;

   task(int theMachine = 0, int theTime = 0)
   {
      machine = theMachine;
      time = theTime;
   }
};

#endif

⌨️ 快捷键说明

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