0
GGGiovanny Gongora
Display the current amount of seconds
0 Comments
#include <iostream> #include <ctime> time_t t = time(NULL); tm* timePtr = localtime(&t); cout << "seconds= " << (timePtr->tm_sec) << endl;