Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Composite data type
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{More citations needed|date=May 2016}} In [[computer science]], a '''composite data type''' or '''compound data type''' is a [[data type]] that consists of [[programming language]] [[scalar data type]]s and other composite types that may be heterogeneous and hierarchical in nature. It is sometimes called a '''structure''' or a [[Record (computer science)|record]] or by a language-specific keyword used to define one such as [[struct (C programming language)|struct]]. It falls into the '''aggregate type''' classification which includes homogenous collections such as the [[Array data type|array]] and [[List (abstract data type)|list]].<ref>{{cite web|last1=Howe|first1=Denis|title=The Free On-line Dictionary of Computing|url=http://foldoc.org/aggregate+type|website=foldoc.org|accessdate=6 February 2023}}</ref> ==See also== * {{Annotated link|Object composition}} * {{Annotated link|Record (computer science)}} * {{Annotated link|Scalar (mathematics)}} * {{Annotated link|Struct (C programming language)}} == References == {{Reflist}} {{Data types}} [[Category:Data types]] [[Category:Composite data types| ]] [[Category:Type theory]] [[Category:Articles with example C code]] [[Category:Articles with example C++ code]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Annotated link
(
edit
)
Template:Cite web
(
edit
)
Template:Data types
(
edit
)
Template:More citations needed
(
edit
)
Template:Reflist
(
edit
)