-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCommon.h
30 lines (27 loc) · 976 Bytes
/
Common.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
////////////////////////////////////////////////////////////////////////
//Title: Common.h
//Author: Kristina Klinkner
//Date: March 20, 2002
//Description: Header file for use with all files in 'CSSR' program
//
////////////////////////////////////////////////////////////////////////
#ifndef COMMON_H
#define COMMON_H
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <fstream.h>
#include <stdio.h>
#include <iostream.h>
#include <iomanip.h>
#include <string.h>
#include <ctype.h>
#define INCREMENT 10 //size of array growth
#define INITIAL_SIZE 50 //intial size of array of states
#define NULL_STATE -1 //non state value
#define SYSTEM_CONST 1 //set this to 2 for windows, and 1 for unix
#define END_STRING 1 //symbol at end of string
#define SYMB_SIZE 1 //size of alpha symbol in ascii characters
#define MAX_STRING 80 //maximum memory allocation for a generic string
typedef unsigned long ulong;
#endif