Open main menu

CDOT Wiki β

Changes

OOP344 Assignment One

2 bytes added, 08:57, 1 October 2009
changed int to void in int io_displayMenuItem(..........)
**If “radio” is false, then the value of *status is toggled between 0 and 1, the checkbox is displayed and function is exited returning space.
====int void io_displayMenuItem(..........)====
<big>int void io_displayMenuItem(const char *format, const char *menuItem, int row, int col, int status);</big>
Allows the user to display a menu-item at row and col on the screen. Depending on the value of status; being zero or non-zero, the menu-item will be surrounded by format characters or space respectively.