2010. 12. 10. 16:47
// No2_TestingFiveStateModel.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include <Windows.h>
#include <iostream>
using namespace std;
#include "Timer\Timer.h"
int _tmain(int argc, _TCHAR* argv[])
{
Timer timer;
//timer.start(); // 슬립으로 준비와 수행 왔다갔다하기
//while(10>timer.elapsedSeconds());
//cout<<"Time Over"<<endl;
//timer.stop();
//::Sleep( 10000 );
//cout<<"Timer Over"<<endl;
//while(true) // 수행! 점유하여 키입력을 수행
//{
// if(::GetAsyncKeyState(VkKeyScan('x')))
// {
// break;
// }
//}
//
while(true) // 블록상태 보기
{
char key;
cin>>key;
if(key == 'x')
{
break;
}
}
return 0;
}
'Operations Dev > Testing Timer' 카테고리의 다른 글
Timer 파일들 (0) | 2010.12.10 |
---|---|
TestingSTL (0) | 2010.12.10 |
TestProcessStateModel (0) | 2010.12.10 |