Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > 1 Infinite Loop

1 Infinite Loop
Thread Tools
Fresh-Faced Recruit
Join Date: Feb 2003
Location: CA
Status: Offline
Reply With Quote
Feb 18, 2003, 10:38 AM
 
I was just thinking about this while I was taking shower...

1 Infinite Loop is like this...?

int i = 0;
while (true)
{
if (i > 0)
{
// Do some silly stuff here
break;
}
i++;
}

Then it's no inifinite anymore!
I would never code like that though...
     
Fresh-Faced Recruit
Join Date: Feb 2003
Location: CA
Status: Offline
Reply With Quote
Feb 18, 2003, 10:40 AM
 
How would you express "Cupatino" in code???
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Feb 18, 2003, 10:54 AM
 
Code:
while(true){ cout << "Apple Computer\nCupertino, CA"; }
Or this:
Code:
#define APPLE_ADDRESS while(true){}

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Fresh-Faced Recruit
Join Date: Feb 2003
Location: CA
Status: Offline
Reply With Quote
Feb 18, 2003, 11:25 AM
 
Originally posted by Tesseract:
Code:
while(true){ cout << "Apple Computer\nCupertino, CA"; }
Or this:
Code:
#define APPLE_ADDRESS while(true){}
hahaha, that's pretty good!
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Feb 18, 2003, 12:28 PM
 
You people need to get out more
     
Fresh-Faced Recruit
Join Date: Feb 2003
Location: CA
Status: Offline
Reply With Quote
Feb 18, 2003, 03:33 PM
 
Originally posted by Angus_D:
You people need to get out more
hahaha, you got that right!
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Feb 19, 2003, 04:58 PM
 
I don't get the point of the original post.

An infinite loop that isn't is not an infinite loop.
     
Fresh-Faced Recruit
Join Date: Feb 2003
Location: CA
Status: Offline
Reply With Quote
Feb 20, 2003, 01:06 AM
 
Originally posted by absmiths:
I don't get the point of the original post.

An infinite loop that isn't is not an infinite loop.
Location of Apple Computer = ?
If you know that, you might get my dumb joke.
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Feb 20, 2003, 09:42 AM
 
Originally posted by macNullString:
Location of Apple Computer = ?
If you know that, you might get my dumb joke.
Yeah, I know Apple's address in Cupertino, but I didn't get the relation to your code. Are you implying that Apple is 'broken' since your infinite loop has a break in it?

Doesn't it really kill a joke when someone doesn't get it and you have to explain?

I personally think that Apple's address of 1 Infinite Loop shows a better outlook than One Microsoft Way.
     
Mac Enthusiast
Join Date: Apr 2001
Location: 127.0.0.1
Status: Offline
Reply With Quote
Feb 21, 2003, 06:12 AM
 
Originally posted by absmiths:

I personally think that Apple's address of 1 Infinite Loop shows a better outlook than One Microsoft Way.
Agreed. Microsoft's address seems to suggest that "there is only ONE way... the Microsoft way." Us Mac people know better though.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:48 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2