Program Example: readALine()
char buffer[1000]; // declare a buffer for the line gets(buffer);
gets(buffer); // read the line return buffer;
return buffer; // return text of line
String readALine (BufferedInput inp) throws IOException
// create a buffer for the line
String line = inp.readLine();
char * lineBuffer; // global declaration of pointer to buffer
char buffer[tOOO]; // declare a buffer for the line
gets(buffer); // read the line
lineBuffer = buffer; // set pointer to reference buffer