Difference between revisions of "PROJECTS"

From CDOT Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
=IOF=
 
=IOF=
<a href='https://zenit.senecac.on.ca/wiki/index.php/Oop344_20102_-_iof_functions' name='iof link'>iof link</a>
+
[https://zenit.senecac.on.ca/wiki/index.php/Oop344_20102_-_iof_functions]
 
<table border="1" cellspacing="0" cellpadding="4" style="  border:1px solid ; font-size:small; line-height:1.5;">
 
<table border="1" cellspacing="0" cellpadding="4" style="  border:1px solid ; font-size:small; line-height:1.5;">
 
   
 
   

Revision as of 13:16, 6 June 2010

projects of oop344

IOF

[1]

Simple Functions
void iof_init(void) Initializes the iof routines.
void iof_end(void) Shuts down the io routines and ensures that the cursor is not left in the middle of the screen, which may be partly filled with characters.
int iof_rows(void) Returns the number of rows on the screen.
int iof_cols(void) Returns the number of columns on the screen.
void iof_clrscr(void) Clears the screen and leaves the cursor in the upper left-hand corner of the screen.
void iof_flush(void) Ensures that any output sent to the screen is displayed on the screen (that is, this function flushes the output buffer).
int iof_getch(void) Returns the virtual key code identifying the key pressed by the user.