common.h
来自「模擬無線通訊論文的模擬程式, 可用此程式驗證論文方法是否正確」· C头文件 代码 · 共 28 行
H
28 行
#ifndef __COMMON_H__
#define __COMMON_H__
/* include */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
/* some define type */
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
/* state type of server */
#define SERVER_IDLE 0
#define SERVER_BUSY 1
/* output type */
#define Pf_type 254
#define Pb_type 255
/* max base stations */
#define MAX_BS 16
#endif /* __COMMON_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?