Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * File: simpio.h
- * Version: 1.0
- * Last modified on Wed Apr 27 07:29:13 1994 by eroberts
- * -----------------------------------------------------
- * This interface provides access to a simple package of
- * functions that simplify the reading of input data.
- */
- #ifndef _simpio_h
- #define _simpio_h
- #include "genlib.h"
- /*
- * Function: GetInteger
- * Usage: i = GetInteger();
- * ------------------------
- * GetInteger reads a line of text from standard input and scans
- * it as an integer. The integer value is returned. If an
- * integer cannot be scanned or if more characters follow the
- * number, the user is given a chance to retry.
- */
- int GetInteger(void);
- /*
- * Function: GetLong
- * Usage: l = GetLong();
- * ---------------------
- * GetLong reads a line of text from standard input and scans
- * it as a long integer. The value is returned as a long.
- * If an integer cannot be scanned or if more characters follow
- * the number, the user is given a chance to retry.
- */
- long GetLong(void);
Advertisement
Add Comment
Please, Sign In to add comment