Code: Select all
#include <windows.h>
#include <stdlib.h>
#include <string.h>
main()
{
char sMes[100]="Windows была запущена ",
sBuf[]="Hello to All from sva :)";
strcat( sMes, ltoa(GetTickCount()/60000, sBuf, 10));
strcat( sMes, " минуты (" );
strcat( sMes, ltoa(GetTickCount()/1000, sBuf, 10));
strcat( sMes, " секунды) назад..." );
MessageBox( NULL, sMes, "Время загрузки системы", MB_OK );
return 0;
}