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){ } }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Thread: Program Main Loop.Threaded View
|
Click Here to Expand Forum to Full Width |