Files
Sun1602/Tools/Tool-CPShow/CPShowLIB/CPShowTest.cpp
T
2022-10-26 12:25:11 +08:00

31 lines
620 B
C++

// CPShowTest.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#ifdef __DEBUG_TESTUNIT__
#include "CPShowMSG.h"
int _tmain(int argc, _TCHAR* argv[])
{
const CPShowFNTable* fnTable = GetCPShowHandler();
fnTable->fnInit( C2S_HIGH_VERSION_NO, C2S_MIDDLE_VERSION_NO, CATEGORY_ODD_NUMBER, PROTOCOL_ODD_NUMBER );
for( int i=0 ; i<256 ; ++i )
for( int j=0 ; j<256 ; ++j )
{
const CHAR* str = fnTable->fnQuery( i, j, NULL );
if( str != NULL )
{
printf( "[%03d:%03d] %s\n", i, j, str );
}
}
CHAR c;
scanf( "%c", &c );
return 0;
}
#endif //__DEBUG_TESTUNIT__