Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 Visual C++ 程序中,我希望 SYSTEMTIME 变量等于当天中午 12:00(中午)。我不太确定如何做到这一点。 指针表示赞赏!
谢谢
可能是这样的:
SYSTEMTIME st; GetLocalTime(&st); st.wHour = 12; st.wMinute = st.wSecond = st.wMilliseconds = 0;