//  ~cs35/win_0.cpp		to show elemetary graphics

#include "CS35win.h"

int main ()
{
	int counter, height, width;
	char ch;
	
/*	cout << "What's your favorite keystroke? ";
	cin >> ch;
	cout << "Width? ";
	cin  >> width;
	cout << "Height? ";
	cin >> height;
*/	
	beginwin();
	
	move (17,42);
	addch('q');
	refresh();

	hesitate (.5);

	move (20,30);
	addch('Z');
	refresh();

   move (0,0);
	addch('Y');
	refresh();
	
	move (1,1);
	addch('O');
	refresh();
	
	move (2,2);
	addch('U');
	refresh();
	
	move (3,3);
	addch('S');
	refresh();
	
	move (4,4);
	addch('E');
	refresh();
	
	move (5,5);
	addch('F');
	refresh();

ch = 'A';

counter = 23;

	while (counter > 0)
	{
		move (counter, 2*counter);
		addch(ch);
		refresh();
		hesitate(counter/10.0);
		ch = ch+1;
		counter--;
		
	}

	
	endwin();
	return 0;
}

