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

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

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 Converted to VXL by Louise Butcher

Definition in file mbl_read_yes.h.


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.