// ValidStringCheck.cpp : ÄÜ¼Ö ÀÀ¿ë ÇÁ·Î±×·¥¿¡ ´ëÇÑ ÁøÀÔÁ¡À» Á¤ÀÇÇÕ´Ï´Ù. // //TODO : ÁÖ¼®Ã³¸®µÈ ¹®ÀÚ¿­Àº °É·¯ ³»µµ·Ï ÇÒ°Í. #include "stdafx.h" #include "StringCheck.h" #include int _tmain(int argc, _TCHAR* argv[]) { StringCheck check; FILE * pFile; SYSTEMTIME sysTime; GetLocalTime(&sysTime); TCHAR outputName[512]; sprintf(outputName , "SRQ_%d_%d_%d_%d.txt" , sysTime.wMonth , sysTime.wDay,sysTime.wHour , sysTime.wMinute); pFile = fopen(outputName , "w+"); BOOL bRet = check.ExtractString(pFile ,"gameclient"); if( bRet) { MessageBox(NULL,"°Ë»ö ¿Ï·á" ,"¾Ë¸²" , MB_OK); } fclose(pFile); return 0; }