Hi all,

How does one make a main loop in a c++ program? Is there any secret on it?

I've done the very simple code below and it is taking 50% of CPU Usage, so, is there any thing i should do to slow up stuf?

Regards

Code:
int main(){

while(1==1){

}

}