Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by mdcl ( 17 years ago )
<pseudo>

int i
i = 0
@loop:
   if( testi() == true ) 
   {
       goto @loop
   }

   if i < 10
   {
       printtaa_jotain()
       i = i + 1
       goto @loop
   }
// looppi loppui
</pseudo>

<c++>

for(int i=0; i<10; i++)
{
    if( testi() == true )
    {
        continue;
    }

    printtaa_jotain();
}

</c++>

 

Revise this Paste

Your Name: Code Language: