abr.h

/*
 * file to demonstrate the use of header files
 * in multifile C programs
 *
 * this handles glob right
 * it has to be defined in one of the source code files
 *
 * if compiled with -DNOGLOB, it doesn't define glob
 *
 * Matt Bishop, ECS 36A
 * -- June 4, 2024	original program
 */
#include <stdio.h>

int glob;		/* an example global variable */

void b(void);		/* an example function prototype */


UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 36A, Programming & Problem Solving
Version of April 2, 2024 at 12:13PM

You can get the raw source code here.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh