#include <iostream.h>
#include <windows.h>
#include <time.h>
#include <stdlib.h>
#include <conio.h>
#include <math.h>
#include <fstream.h>
#include <process.h>

#include <c:\windows\desktop\fally blocks\bits.h>
#include <c:\windows\desktop\fally blocks\blocks.h>
#include <c:\windows\desktop\fally blocks\game.h>
#include <c:\windows\desktop\fally blocks\draw.h>
#include <c:\windows\desktop\fally blocks\menu.h>
#include <c:\windows\desktop\fally blocks\test.h>

//HANDLE inhand=GetStdHandle(STD_INPUT_HANDLE);
HANDLE inhand;
int keyb()
{

	LPDWORD events=0;
	GetNumberOfConsoleInputEvents(inhand, events); 
	cout<<events<<endl;	
//	if(events>0)
//		return int(events);
//		return 1;
//	else
//		return 0;

return 0;
}

main()
{
//	cout<<GetLastError()<<endl;
//	init_game();
//	cls();
//	menu();
//	test();
	for(;;)
	keyb();

	cout<<inhand<<endl; 
 


//for(int i=0;i<32;i++)
//{
//	put('a', i ,0, i);	
//}


//	while(!_kbhit()){}

	return 0;
}
