这个一点都不难啊。#include <iostream>
#define _AFXDLL
#include <afx.h>using namespace std;int main()
{
int iMinutes = 0, iSeconds = 0, iTotal = 0;
CTime time = CTime::GetCurrentTime();
iMinutes = time.GetMinute();
iSeconds = time.GetSecond();
iTotal = iMinutes * 60 + iSeconds;
cout << iTotal << endl;
getchar();
return 0;
}