Functions
contrib/mul/mbl/mbl_read_yes.cxx File Reference

Get yes or no response from keyboard. More...

#include "mbl_read_yes.h"
#include <vcl_iostream.h>
#include <vcl_cstdio.h>

Go to the source code of this file.

Functions

bool mbl_read_yes ()
 True if 'y' or 'Y' pressed.
bool mbl_read_no ()
 True if 'n' or 'N' pressed.

Detailed Description

Get yes or no response from keyboard.

Author:
Tim Cootes

Definition in file mbl_read_yes.cxx.


Function Documentation

bool mbl_read_no ( )

True if 'n' or 'N' pressed.

Waits for returns to be pressed. Returns true if last character pressed is a N.

Definition at line 32 of file mbl_read_yes.cxx.

bool mbl_read_yes ( )

True if 'y' or 'Y' pressed.

Waits for returns to be pressed. Returns true if last character pressed is a Y.

Definition at line 13 of file mbl_read_yes.cxx.