Этот урок пока на английском.
Your own types
A player has a name, a score and an online status. Instead of juggling three loose variables, a struct bundles them into one type, so your code can talk about players, posts and messages.
Этот урок пока на английском.
A player has a name, a score and an online status. Instead of juggling three loose variables, a struct bundles them into one type, so your code can talk about players, posts and messages.