File:  [LON-CAPA] / capa / capa51 / Historic / bubbler.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Sep 28 21:26:52 1999 UTC (24 years, 7 months ago) by albertel
Branches: capa
CVS tags: start
Created directory structure

/*Get Form Errors*/
#define GFSUCCESS	100
#define GFFAILED	101
#define GFEOF		102
#define GFSPACES	103

/*Check Form Errors*/
#define ESTID		201
#define ECLASSL		202
#define EPIN		203
#define ECLASS		204

/*findPID Errors*/
#define ENONE		301
#define ENOONE		302

/*questions array size*/
#define MAXQUEST	40

/*grading stryles*/
#define KASHYMETHOD	1
#define MRTMETHOD	2
#define STRICT		3

typedef struct
{
	char answerPID[10];
	char questionPID[10];
	char class[9];
	char SetId[6];
	char PIN[7];
	char Answers[50][6];
} Student;

typedef struct
{
	char type;
	int leafs;
	int points;
} Question;

typedef struct
{
	char PID[MAX_STUDENT_NUMBER];
	int PIN;
} PIDPINlist;

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>