(资料图片)

1、结构体。

2、就是定义一系列变量的集合例如:struct test{ int a; int b;};使用的时候:test t;t.a = 1;t.b = 2;。

本文分享完毕,希望对大家有所帮助。

推荐内容