- 博客(0)
- 资源 (2)
- 收藏
- 关注
基于DOS的多任务系统实现
#define FINISHED 0
#define RUNNING 1
#define READY 2
#define BLOCKED 3
int TL;
int n =0;
int buf1;
char far *indos_ptr = 0 ;
char far *crit_err_ptr = 0 ;
/* the pointer to the process's code */
typedef int (far *codeptr)(void);
2013-06-03
校园导游咨询
#include<iostream>
#include<string>
using namespace std;
#define MaxVertexNum 50 /*景点个数最大50*/
#define MAXCOST 1000 /*定义路径的无穷大*/
#define T 8 /*目前景点个数*/
typedef struct
{
char name[20]; /*景点名称*/
char number[15]; /*景点代号*/
char introduce[100]; /*景点简介*/
}Elemtype;
typedef struct
{
int num; /*顶点编号*/
Elemtype date; /*顶点信息*/
}Vertex; /*定义顶点*
2012-05-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人