Structs, dots and arrows
A struct groups related values into one type. Read fields with a dot, and through a pointer with ->, so functions can change the real thing.
Code
Inside: 2 short explanations, a runnable example and 1 checked exercise.
See what’s includedAlready have Brainlag Code? Sign in