更新了文件名。开始了数据结构

This commit is contained in:
lzy
2024-04-14 06:55:53 +08:00
parent 9bc7edbf47
commit 45bcb90c6d
69 changed files with 455 additions and 0 deletions

36
Chapter08/enum.c Normal file
View File

@@ -0,0 +1,36 @@
#include <stdio.h>
#include <stdlib.h>
enum day
{
MON = 1,
TUS,
THR,
WES,
FRI,
SAT,
SUN
};
enum
{
STATE_RUNNING = 1,
STATE_CANCELED,
STATE_OVER
};
// struct job_st
// {
// int id;
// int state;
// time_t start, end;
// };
int main()
{
// enum day a = MON;
exit(0);
}