#include #include using namespace std; int WINAPI WinMain(HINSTANCE inst,HINSTANCE prev,LPSTR cmd,int show) { time_t timer;struct tm *t;timer = time(NULL); t = localtime(&timer); if(t->tm_wday==3) {MessageBox(NULL,"오늘은 수요일이군요.","",MB_OK);} return 0;}