cougarguard.com — unofficial BYU Cougars / LDS sports, football, basketball forum and message board

cougarguard.com — unofficial BYU Cougars / LDS sports, football, basketball forum and message board (http://www.cougarguard.com/forum/index.php)
-   Basketball (http://www.cougarguard.com/forum/forumdisplay.php?f=8)
-   -   Rocky not afraid (http://www.cougarguard.com/forum/showthread.php?t=16819)

RockyBalboa 02-14-2008 07:07 PM

Quote:

Originally Posted by Jeff Lebowski (Post 185197)

(cough, cough)

Can you also burp "Amen to that"?

Jeff Lebowski 02-14-2008 08:00 PM

Quote:

Originally Posted by RockyBalboa (Post 185288)
Can you also burp "Amen to that"?

I wasn't agreeing with you.

RockyBalboa 02-14-2008 08:13 PM

Quote:

Originally Posted by Jeff Lebowski (Post 185330)
I wasn't agreeing with you.

No shit Sherlock.

Indy Coug 02-14-2008 08:21 PM

Code:

RockyResponds = True

While RockyResponds Do

    For x = 1 to 1000000000    'Rocky waits for response to a post by Rocky
          If RespondToRocky Then Goto GotResponse
    Next x

GotResponse:

    If RespondToRocky = True Then
        RockyResponds = True
    End If

Loop


BigFatMeanie 02-14-2008 08:24 PM

Quote:

Originally Posted by Indy Coug (Post 185350)
Code:

RockyResponds = True

While RockyResponds Do

    For x = 1 to 1000000000    'Rocky waits for response to a post by Rocky
          If RespondToRocky Then Goto GotResponse
    Next x

GotResponse:

    If RespondToRocky = True Then
        RockyResponds = True
    End If

Loop



You could have just said "Exit For" instead of using a Goto...

Indy Coug 02-14-2008 09:20 PM

Quote:

Originally Posted by BigFatMeanie (Post 185357)
You could have just said "Exit For" instead of using a Goto...

You're going to critique pseudo-code?

MikeWaters 02-14-2008 09:31 PM

Quote:

Originally Posted by Indy Coug (Post 185350)
Code:

RockyResponds = True

While RockyResponds Do

    For x = 1 to 1000000000    'Rocky waits for response to a post by Rocky
          If RespondToRocky Then Goto GotResponse
    Next x

GotResponse:

    If RespondToRocky = True Then
        RockyResponds = True
    End If

Loop


I'll bet this is hysterical.

Jeff Lebowski 02-14-2008 10:23 PM

Quote:

Originally Posted by MikeWaters (Post 185395)
I'll bet this is hysterical.

You should see it in C++. It's even funnier.

pelagius 02-14-2008 11:52 PM

Quote:

Originally Posted by Jeff Lebowski (Post 185411)
You should see it in C++. It's even funnier.

Code:

int RockyResponds = 1;
 
while (RockyResponds) {
  for (int x = 0; x < 1000000000 && !RespondToRocky; ++x) {
      ++rocky.wrath;
  }   

  If (RespondToRocky) {
      RockyResponds = 1;
  } 
}

You're right that is funnier.

creekster 02-14-2008 11:54 PM

Quote:

Originally Posted by pelagius (Post 185442)
Code:

int RockyResponds = 1;
 
while (RockyResponds) {
  for (int x = 0; x < 1000000000; ++x) {
      if (RespondToRocky) {
        break;
      }     
  }   
 
  If (RespondToRocky) {
        RockyResponds = 1;
  } 
}

You're right that is funnier.

**please pardon the use of the exit statement


Be careful, if you laugh too hard, your pocket protector will fall out of your pocket thereby risking that your pens will get out of order.


All times are GMT. The time now is 06:19 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.