Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon

Structs

< >
Example from 1 languages: C
struct account { int account_number; char *first_name; char *last_name; float balance; };
Example from 1 languages: C3
struct Test { int x; float y; String z; }
Example from 1 languages: Jule
struct Employee { first_name: str last_name: str salary: f32 }
Example from 1 languages: Speedie
struct Fuel |int| A |byte| B
Example from 1 languages: Wax
(struct point (let x float) (let y float) )
Example from 1 languages: Ion
{ first : "Tom" , last: "Riddle" } // Structure with two fields {"first":"Tom","last":"Riddle"} // The same value with confusing style {center:{x:1.0, y:12.5}, radius:3} // Nested struct
*

Languages with Structs include C, C3, progsbase, C2, Jule, Speedie, Wax, Ion

*

View all concepts with or missing a hasStructs measurement

*

Read more about Structs on the web: 1.

View source

- Build the next great programming language About Acknowledgements Part of the World Wide Scroll