ok in main do it like this

void main()
{

while(true)
{
do you code
}
}