Okay guys, here is the class i use:

class TIME {
public:
TIME();
void AddSecond();
void SetTime(int, int, int);
void GetTime();
void PrintTime();
private:
int hour;
int min;
int sec;
};

So i have to write console application in MVS 6, which uses this class and shows time with autoincrement each second.

So i need to write something like this Pascal statement:

repeat
....
PrintTime;
AddSecond;
delay(1000);
until keypressed.

Can someone help me ?

source code on : http://free.hit.bg/thesaint/kkk.cpp
any one who have interesting solution post here or mail me to [email protected]

10z