You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
658 B

---
language: "C"
library: "Standard"
title: "Structs in C"
layout: emacspeak_tutorial
yt_link: "https://youtu.be/SaUnC_Ofysw"
zip_link: "/assets/emacspeak-tutorials/structs.zip"
---
Structs are a way of grouping related data together.
Think of a struct the same way your would any other noun.
They often have many individual attributes that combine to make that thing.
For example, a student may have a first name, last name, student ID, GPA, list of classes, etc.
In this tutorial I use a very trimmed down version of what a structure generally contains to make the point without overwhelming you.
3 years ago
Hopefully it helps. Let me know about any improvements.