struct

struct — noun

1. a shortened written form of the word 'structure', used especially in computer pr

1.nounB2
Definition

a shortened written form of the word 'structure', used especially in computer programming to name a group of related pieces of information stored together — for example, a struct containing a person's name, age, and address; also used informally in notes or messages to mean a plan, system, or organization.

Example

The C program uses a struct to store each student's name, ID, and final grade.

struct to store multiple data fields

Quinn created a struct called 'Book' with fields for the title and the author.

struct definition: struct called [Name]

Common collocations
  • struct called + [name]
  • org struct
  • struct with + [fields]
  • define a struct

Grammar Patterns

[countable] struct + for + [data_group]

written abbreviation in notes

Usage Note

Always written in lowercase in code. In formal academic or business writing, use the full word 'structure' instead of the abbreviation.

Common Mistakes

I revised the struct of my essay three times.
I revised the structure of my essay three times.
In formal or academic writing, use the full word 'structure' rather than the abbreviation.

Word family

Synonym discussion

Sense: noun/1

'Struct' is a short form of 'structure', but the two are not interchangeable in all situations. 'Structure' (B1) is the full, formal word for any organised system — 'the structure of an organisation' or 'the structure of an essay'. 'Layout' (B2) focuses on how parts are arranged in space — 'the layout of a room or a website'. 'Framework' (B2) suggests a supporting skeleton — 'a legal framework for trade agreements'. Use 'struct' only in informal notes or programming code; in all other writing, choose the appropriate full word.

Common collocations

Nouns

  • struct definition
  • struct type
  • struct field
  • struct member

Phrases

  • define a struct
  • declare a struct
  • nested struct

Prepositions

  • struct for
  • struct with
  • struct called

Etymology

LatinFrenchEnglish

'Struct' is a 20th-century shortened form of 'structure', which entered English from French in the 15th century and ultimately comes from the Latin verb 'struere', meaning 'to build' or 'to put together'.