C++*中的结构

Bur*_*nie 4 c++ structure

可能是一个愚蠢的问题,但我只是好奇.变量*temp*perm在这个结构中意味着什么?

struct process {
    int id;
    char name;
} *temp, *perm;
Run Code Online (Sandbox Code Playgroud)

Nin*_*rry 10

短版

struct process {
    int id;
    char name;
};

process *temp;
process *perm;
Run Code Online (Sandbox Code Playgroud)

这声明了一个名为process的结构类型,然后声明了两个变量,它们是处理结构的指针.