怎样调用当前时间
我要C++SOURCE FILE
调用当前时间,怎样实现?
是不是可以用CTme类,要用什么头文件啊
问题点数:0、回复次数:2Top
1 楼wwww2()回复于 2003-05-04 19:49:49 得分 0
The GetLocalTime function retrieves the current local date and time.
void GetLocalTime(
LPSYSTEMTIME lpSystemTime
);
Parameters
lpSystemTime
[out] Pointer to a SYSTEMTIME structure to receive the current local date and time.
Return Values
This function does not return a value.
Requirements
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib.
Top
2 楼swordhyx(银色刀锋)回复于 2003-05-04 19:53:02 得分 0
这么快就回复啦~~~~~~~~太谢谢你了Top




