#includeIn this example, we create a CTime object representing the current time using the CTime::GetCurrentTime() function, and then retrieve the second component using the GetSecond function. Finally, we print the value of the second component to the console. This code example shows that the CTime class belongs to the MFC library, which is a Microsoft-specific library for developing Windows applications in C++.// include MFC library int main() { CTime currentTime = CTime::GetCurrentTime(); // get current time int second = currentTime.GetSecond(); // get the second component of current time printf("The current second is: %d", second); return 0; }