全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Structure, field?

又称: structure (C struct) · field (of a structure)

Definition 6.3 University Computer Science — Year 1 · 第 6 章 — Strings, Structures and Files

A structure in C is a type made of several named members, the fields, of possibly different types, stored in one block of memory in the order of their declaration. A field is reached with . from a structure and with -> from a pointer to one: p->x means (*p).x.

在原文中阅读 →