|
CS256 - Fundamentals of Structured Programming
| Displaying exercises/e9/files/c2.c
#include "c.h"
/**
* Complete the main function to draw colored lines across the screen and down
* the screen. The horizontal lines should start on line 5 (0 based) with
* background color 0, the vertical lines should start on column 10 (0 based).
* Print the message "Press any key to exit" in at the bottom middle of the
* screen and then wait for a key-press.
*/
int main(void)
{
init_curses();
leave_curses();
return 0;
}
|