Changes

Jump to: navigation, search

OOP344 Assignment One

27 bytes added, 08:33, 5 October 2009
int io_menuItem(..........)
io_menuItem() allows the user to make a single item selection. "status" points to the status of the selection, that can be zero or non-zero. If "status" is initially set to anything but zero, io_menuItem() corrects value to one. "format" holds the shape of the selection indicator as io_displayMenuItem() function.
io_menuItem() begins the selection by displaying the menu item according to its “*status”using io_displayMenuItem(). (Remember that the value of "*status" is corrected before the editing begins). Then the function waits for the user input.
*If the user input is any of the printable keys (' ' < key <= '~') excluding space, it should be ignored (no action taken). If the user input is any of the function keys, the function is terminated returning the key.

Navigation menu