d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > For Loop In Go > How To Understand This:
Prev12
Add Reply New Topic New Poll
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Mar 19 2013 04:48pm
Quote (ThecoreDancer @ Mar 19 2013 05:43pm)
better than

Code
int main()
{
  for(int i = 0;;i++)
       {
          printf("%d",i)
        }
return 0;
}


because that'd be slow as hell


quite a bit slower, these loops are from my experience always slow the computer way down and crash slower computers instantly

in a real situation use a variation of a timer function
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll