Time in C++ February 04, 2022 #include<bits/stdc++.h>using namespace std;int main(){ time_t now = time(0); char* dt = ctime(&now); cout<<dt; return 0;} Share Get link Facebook X Pinterest Email Other Apps Share Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment