\chapter{Sample Code} This appendix contains examples of C programs that use the EXODUS API. \section{Write Example Code} The following is a C program that creates and populates an EXODUS file: \lstinputlisting{example-write.c} \newpage \section{Read Example Code} The following C program reads data from an EXODUS file: \lstinputlisting{example-read.c}