struct

Composite data type

A struct is a data structure in programming that groups related variables under a single name.

Unlike arrays, structs can hold different data types together—a struct for a person might contain a string for name, an integer for age, and a float for height.

Common in C, C++, and similar languages: Define a struct to hold the coordinates.

In languages with classes, structs typically lack methods and inheritance, serving as simple data containers.

programming

data

Facts for analysis

  • arrayOrdered collection or display
  • recordPreserved account or achievement
  • fieldArea of specialty

member · class · object · pointer · memory · allocation · byte · variable · declaration · initialization

building

framework

Underlying support system

  • scaffoldTemporary elevated work structure
  • frameSupporting outer structure
  • beamStructural support member

girder · truss · joist · column · pillar · arch · buttress · cantilever · dome · vault

organization

hierarchy

Ranked authority structure

  • systemConnected parts forming whole
  • arrangementOrdered configuration or agreement
  • orderMethodical arrangement or request

configuration · composition · setup · formation · network · matrix · chain · tier · level · department

anatomy

bone

Hard skeletal tissue

membrane · cartilage · ligament · tendon · muscle · organ · spine · ribcage · pelvis · cranium

Opposites
data type complexity

structprimitive

In earliest form

scalar · int · float · char · boolean

object-oriented paradigm

structclass

Grouping by shared traits

object · instance · interface

data organization

structarray

Ordered collection or display

list · vector · blob · tuple · scalar

Phrases
Family

structure, construct, instruct, obstruct, infrastructure, reconstruct, structural, restructure, unstructured

Familiarity
Top 1,000,000
Profile
Used worldwide · Timeless · Abstract · Rated G