The following code samples are related to Programming II labs. Most samples have both code and explanations and are tied to certain labs. They may also be solutions for lab tasks with additional explanations.
- Identifying a flying object (enumeration example)
- Structure array example
- Reading from a file into structure array
- Structure pointer example
- Returning a struct
- Substruct example
- Creating easily reusable code
- Writing to multiple output streams
- Structure pointer as a member of structure
- realloc() partial solution
- struct_wrapper_dynamic