HIPHOPYANG 2022-12-27 22:17 采纳率: 0%
浏览 17

c语言设备管理系统流程图


结构体、链表的设计说明

     typedef struct facility

{

     char no[20];设备号

     char name[10];设备名称

     char cj[20];生产厂家

     char bm[20];使用部门 

     int jg;购买价格

     int year;

     int month;

     int day;

struct facility *next;

}STU;

设备号p->no

设备名称p->name

购买价格&p->jg

生产厂家p->cj

使用部门p->bm

&p->year ,&p->month, &p->day 购买日期
是什么意思,我还不懂意思
  • 写回答

1条回答

  • hello_world&& 2022-12-28 09:27
    关注

    首先p表示指向结构体的指针,p->no表示指针p所指的结构体变量的成员设备号no,&p->no表示指针p所指的结构体变量的成员设备号no的地址。后面的&p->year,&p->month...和此相同。

    评论

报告相同问题?

问题事件

  • 创建了问题 12月27日