帮写段简单的C语言代码,每隔一分钟输出一行字

2025-02-22 10:35:22
推荐回答(2个)
回答1:

while(true)
{
CTime time=CTime::GetCurrentTime();
CString csTmp=time.Format("%Y.%B.%d-%A");
AfxMessageBox(csTmp);
sleep(1000);
}

回答2:

sleep(60000);