PLZ Don't make mistake about what i'm writing
& if u dont understand dont answer plz.
I need just a digital clock in C++ with gotoxy &print"****" &...
i want to find the difference between this one & the others completely
no different if any one just wrote with gotoxy &...
#include<stdio.h>
#include<conio.h>
#include<iostream>
#include <Windows.h>
#include<time.h>
using namespace std;
int main()
{
int sec,min,hour;
for(hour=0;hour<=24;hour++)
{
for(min=0;min<=60;min++)
{
for(sec=0;sec<=60;sec++)
{
gotoxy(12,50);
cprintf("Timer Simulation By Shariq Khan,Press Any Key To Exit");
gotoxy(30,16);
cprintf("****************");
gotoxy(35,18);
cprintf("H:M:S");
gotoxy(35,20);
cprintf("%d:%d:%d",hour,min,sec);
gotoxy(30,22);
cprintf("****************");
delay(1000);
if(kbhit(;))
exit(1)
}
}
}
getch();
}
this is sth like the one i want to write but it has some errors
I want to write this in Visual C++
not in turbo