Next: WriteMyString.c Up: Modular Example Previous: Modular Example

main.c


/*
 *	main.c
 */
#include "header.h"
#include <stdio.h>

char	*AnotherString = "Hello Everyone";

main()
{
	printf("Running...\n");

	/*
	 *	Call WriteMyString() - defined in another file
	 */
	WriteMyString(MY_STRING);

	printf("Finished.\n");
}


Dave.Marshall@cm.cf.ac.uk
Wed Sep 14 10:06:31 BST 1994