散文网 | 字典

struct的意思,struct的音标读音解释

2016-05-05 01:05

struct翻译

结构

音标读音

英式:[strʌkt]美式:[strʌkt]

基本意思

[计][C](数据类型)结构,结构体(定义关键字)

形近的词

struck strunt

变形

例句

  1. This macro creates a struct list_head object onto which you can add objects.
    这个宏创建一个结构listhead对象,可以在该对象上添加其他一些对象。
  2. The struct keyword provides a way to collect a group of variables together into a structure.
    struct关键字提供了将一组变量集中到一个结构的方法。
  3. Once created, a struct represents a new type that can then be used throughout your interface definition.
    一旦创建了,struct表示可以在整个接口定义中被使用的新类型。
  4. Because Java is object-oriented, C constructs like struct and union have been removed.
    因为Java是面向对象的,所以C的一些结构例如struct和union都被去除了。
  5. Notice that in both the PPE and the SPE the struct was aligned to16 bytes and padded to16 bytes.
    注意在PPE和SPE中,这个结构被对齐为16字节,并填充成16个字节。

百科解释

在实际问题中,一组数据往往具有不同的数据类型。例如, 在学生登记表中,姓名应为字符型;学号可为整型或字符型; 年龄应为整型;性别应为字符型;成绩可为整型或实型。 显然不能用一个数组来存放这一组数据。 因为数组中各元素的类型和长度都必须一致,以便于编译系统处理。为了解决这个问题,C语言中给出了另一种构造数据类型——“结构”。 它相当于其它高级语言中的记录。

网络意思

结构
结构体
结构体类型
构造
结构类型

struct的相关作文