// getThings.h
// P. Conrad, for CISC181, Fall 2004

#ifndef GETTHINGS_H
#define GETTHINGS_H

char getFirstCharacter(void);
int getFirstInteger(void);

#endif // GETTHINGS_H

// Explanation: These are function prototypes for two little utiltity
// routines to make reading single characters and integers a little
// more robust.
//
// They use cin.getline to read only the first character on the line, 
// or the first integer on the line. 
// 
// Everything else on the input line is discarded.
// If the first input on the line is not a legal integer, 0 is used
// instead.

