Hi
I have a program that will give you the static time from the system
here is the code
the only thing i need that i can seem to do is to keep it running contantly in the background so it tells the correct time all the timeCode:#include <iostream> #include <ctime> using namespace std; int main() { time_t current; current = time(0); if (current != static_cast<time_t>(-1)) { cout<< ctime(¤t) <<flush; } }
can anyone help?
Thanks