Public feed #532705

Date And Time In C++

public cpp v1 · immutable
Raw Edit
·published 2007-06-03 06:57 UTC
rendered paste body
#include <windows.h>#include <fstream>using std::ofstream; using std::endl;      ofstream fout("UniqueSpawnLogger.txt");       SYSTEMTIME timeGMT= {0};  GetLocalTime (&timeGMT);    fout << "TigerGirl has appread on Tiger Mountain at: " << timeGMT.wMonth << "/" << timeGMT.wDay << "/" << timeGMT.wYear << " " << timeGMT.wHour << ":" << timeGMT.wMinute << ":" << timeGMT.wSecond << "\n";   }