Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Structure, field » ?

Aussi appelé : structure (C struct) · field (of a structure)

Definition 6.3 University Computer Science — Year 1 · Chapitre 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.

Lire dans le chapitre →