ctime::getcurrenttime

场景:关于CTime t = CTime:GetCurrentTime(),该如何解决

关于CTime t = CTime::GetCurrentTime()
获取系统当前时间,怎么是用这个格式:CTime t = CTime::GetCurrentTime(); 而不是CTime t = GetCurrentTime(); 我不明白哎,关于类,我没学好

------解决方案--------------------
因为这个函数是在CTime下定义的静态函数,所以要加域名吧
------解决方案--------------------
static CTime WINAPI GetCurrentTime( ) throw( );
------解决方案--------------------
静态函数的调用是这样的-->> 类名::静态函数名