剪短输出系统时间#include <windows.h>#include<iostream>using namespace std;int main(){ SYSTEMTIME t; GetLocalTime(&t); cout << t.wYear << "年" << t.wMonth << "月" << t.wDa" //就是毫秒数 << t.wHour << ":" << t.wMinute << ":" << t.wSecond << ":" << t.wMillisnds << endl; return 0;}