pastebin

Paste Search Dynamic
Recent pastes
ctime curr time
  1. #include <iostream>
  2. #include <ctime>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.         time_t curr_time;
  8.         curr_time = time(null);
  9.         char *tm = ctime(&curr_time);
  10.         cout << "Today is  " << tm;
  11.         return 0;
  12. }
Parsed in 0.004 seconds