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.
- Applying enumeration and header file to calculator
- Identifying a flying object (enumeration example)
- Structure array example
- Reading from a file into structure array
- Structure pointer example
- Returning a struct
- Data type agnostic bubble sort
- Nested structure example
- Creating easily reusable code
- Writing to multiple output streams
- realloc() partial solution
- struct_wrapper_dynamic