well the only way i have managed this time is in C but i am having trouble displaying it to the label
this is my code again
can you help understand why it is not displaying?Code:void __fastcall TForm1::lbTimeClick(TObject *Sender) { lblTime->Caption = text; time_t now, last = time(&now), end = now + 10; while ( now < end ) { if ( last < time(&now) ) { char *text = ctime(&now), *newline = strchr(text, '\n'); *newline = '\0'; printf("\r%s", text); fflush(stdout); last = now; } } }