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 + -
显示快捷键?