主题:HourOf MinuteOf SecondOf
HourOf MinuteOf SecondOf
我是初学者,在编写时钟程序时用到这三个函数,具体如下:
DateTime=Time();
h=HourOf(DateTime);
m=MinuteOf(DateTime);
s=SecondOf(DateTime);
运行时出现错误
[C++ Error] Unit1.cpp(49): E2268 Call to undefined function 'HourOf'
[C++ Error] Unit1.cpp(50): E2268 Call to undefined function 'MinuteOf'
[C++ Error] Unit1.cpp(51): E2268 Call to undefined function 'SecondOf'
不知何解呢?我猜想是不是我装BCB时没有装到什么啊?
我是初学者,在编写时钟程序时用到这三个函数,具体如下:
DateTime=Time();
h=HourOf(DateTime);
m=MinuteOf(DateTime);
s=SecondOf(DateTime);
运行时出现错误
[C++ Error] Unit1.cpp(49): E2268 Call to undefined function 'HourOf'
[C++ Error] Unit1.cpp(50): E2268 Call to undefined function 'MinuteOf'
[C++ Error] Unit1.cpp(51): E2268 Call to undefined function 'SecondOf'
不知何解呢?我猜想是不是我装BCB时没有装到什么啊?