Difference between revisions of "PROJECTS"
Line 5: | Line 5: | ||
<tr style=" font-size:large; border-top:1px solid #999; border-bottom:1px solid #999;"> | <tr style=" font-size:large; border-top:1px solid #999; border-bottom:1px solid #999;"> | ||
− | <th> | + | <th>Simple Functions</th> |
<th> </th> | <th> </th> | ||
Line 15: | Line 15: | ||
<td>void iof_end(void)</td> | <td>void iof_end(void)</td> | ||
<td>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. </td> | <td>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. </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>int iof_rows(void) </td> | ||
+ | <td>Returns the number of rows on the screen. </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>int iof_cols(void) </td> | ||
+ | <td>Returns the number of columns on the screen. </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>void iof_clrscr(void) </td> | ||
+ | <td>Clears the screen and leaves the cursor in the upper left-hand corner of the screen. </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 12:10, 6 June 2010
projects of oop344
IOF
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. |