🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

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

1880 views

Getting There...

2100 views

Guess Chess

2003 views

iPhone JetLag

1965 views

iPhone JetLag

1793 views
Advertisement