Ack!

Published March 25, 2005
Advertisement
And the following isn't real code (like in the last post), but it is UGLY.

	try	{		try		{			for(int a=-1;a<2;++a)			{				try				{					for(int b=-1;b<2;++b)					{						try						{							for(int c=-1;c<2;++c)							{								try								{									printf("%d %d %d\n",a,b,c);									throw int(a+b+c);								}								catch(int e)								{									if(e>0)									{										throw int(e-1);									}									else if(e<-1)									{										throw int(e+1);									}								}							}						}						catch(int e)						{							if(e>0)							{								throw int(e-1);							}							else if(e<-1)							{								throw int(e+1);							}						}					}				}				catch(int e)				{					if(e>0)					{						throw int(e-1);					}					else if(e<-1)					{						throw int(e+1);					}				}			}		}		catch(int e)		{			if(e>0)			{				throw int(e-1);			}			else if(e<-1)			{				throw int(e+1);			}		}	}	catch(...)	{	}
Previous Entry Any Suggestions?
Next Entry Behold!
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Music To My Ears

1714 views

Getting There...

1977 views

Guess Chess

1876 views

iPhone JetLag

1827 views

iPhone JetLag

1670 views
Advertisement