noob to C++.
I have a CTime
(actually it's a CTimeEx
) object. The value of the time value is:
CExTime now = now.GetSystemTime();
I am receiving an int
, such as 60, to add to that time; this means that if I have 12:01:30 , then I'd want 12:02:30.
How can I add the int
to the CTime
? Would this work?
currBERecored.m_BeUpdateTime = now + secondsFromFile;