/*
* program to demonstrate multifile C programs
*
* this one will give compiler errors
* normally it compiles with glob defined in ab.h
* to suppress that, compiule with -DNOGLLOB
*
* Matt Bishop, ECS 36A
* -- June 4, 2024 original version
*/
#include "ab.h"
void b(void)
{
int i; /* temp variable */
/* set glob appropriately */
i = 3;
glob = 1290 + i;
}
|
ECS 36A, Programming & Problem Solving Version of April 2, 2024 at 12:13PM
|
You can get the raw source code here. |