Structs Structures in C - An Introductory Tutorial on typedefs struct pointers arrow operator


0:00 Structs are Structures Compound Data Types to group related variables 0:55 The syntax of struct declarations in C with an example Point declaration with two members 2:04 Declaring variables of struct types requires awareness of struct namespace 2:46 Accessing members of a struct value using the dot operator 5:05 Struct values are stack values by default and are located local within automatic stack memory 6:40 Zero initializing C struct members with zeros with C99 standard initialization to 0s 8:39 Initializing C struct members with specific values in curly braces 10:17 Introduction to the typedef operator for aliasing types in C 11:32 Using typedef with C struct types for shorter more natural data typing in your programs 14:08 Using typedef to alias and declare a C struct in a single statement 15:58 Why is the name of a C struct repeated twice in a typedef statement? 17:15 Challenge problem tracing code with struct values. 23:35 Using struct values by accessing and assigning to its members 24:08 Copying all members of a C struct from to another variable or memory location 25:20 Be careful of the difference between a copy of a struct and a pointer to a struct 30:21 Accessing members of pointers to structs with Cs Arrow Syntax for dereferencing 32:42 Next steps with structs: writing functions that work with structs using common C idioms

Источник: rutube.ru

Сообщение от Commenton: Необходимо стартовать сессию