/*
Projekt TEAM

Demo project for a small team

Version 1.0 / 2002.02.01
Autor: pstrainer@gmx.net

The project consists of 3 parts, each of which can
be developed and tested individually: 
-> team_main (this file)
-> team_a
-> team_b

Compile, link, then run with F5
*/

#include "team.h"

void main (void) {
	char myname[]="TEAM";
	int arga1,arga2,return_a;	// vars for module team_a
	int argb1,return_b;			// vars for module team_b

	print_header(myname);

	// Test module team_a
	arga1=-111;
	arga2=222;
	printf(">team_main: calling sub_a(%d,%d)\n",arga1,arga2);
	return_a=sub_a(arga1,arga2);
	printf(">team_main: sub_a(%d,%d) returns %d\n",arga1,arga2,return_a);
	printf("\n");

	// Test module team_b
	argb1=333;
	printf(">team_main: calling sub_b(%d)\n",argb1);
	return_b=sub_b(argb1);
	printf(">team_main: sub_b(%d) returns %d\n",argb1,return_b);

	print_trailer();
}

/* ========== eof ========== */

    Source: geocities.com/pstrainer/entwicklung/c

               ( geocities.com/pstrainer/entwicklung)                   ( geocities.com/pstrainer)