• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:01
CET 02:01
KST 10:01
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL20] Finals Preview: Arrival10TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9
Community News
Merivale 8 Open - LAN - Stellar Fest3Chinese SC2 server to reopen; live all-star event in Hangzhou22Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET10Weekly Cups (Oct 6-12): Four star herO8
StarCraft 2
General
Could we add "Avoid Matchup" Feature for rankgame RotterdaM "Serral is the GOAT, and it's not close" Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
Crank Gathers Season 2: SC II Pro Teams Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship $3,500 WardiTV Korean Royale S4 Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
ASL Runner-Up Race Stats ASL20 Pre-season Tier List ranking! [ASL20] Finals Preview: Arrival Is there anyway to get a private coach? BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Grand Finals ASL final tickets help [ASL20] Semifinal A Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Roaring Currents ASL final Relatively freeroll strategies
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Nintendo Switch Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Series you have seen recently... Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1310 users

Homework thread - Page 2

Forum Index > Closed
Post a Reply
Prev 1 2 3 4 5 Next All
qrs
Profile Blog Joined December 2007
United States3637 Posts
May 28 2009 01:22 GMT
#21
On May 28 2009 10:20 RaGe wrote:
Lastly: Can you please tell me who the fuck you're sharing your account with that is making these dumbass statements? Apparently your IP has been static for days, and now it changes for every post you make about this problem.

Aha! Clever, RaGe.
'As per the American Heart Association, the beat of the Bee Gees song "Stayin' Alive" provides an ideal rhythm in terms of beats per minute to use for hands-only CPR. One can also hum Queen's "Another One Bites The Dust".' —Wikipedia
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
May 28 2009 01:22 GMT
#22
We're both working on the same thing, =/.
"come korea next time... FXO house... 10 korean, 10 korean"
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
May 28 2009 01:23 GMT
#23
I don't see how that's even relevant anyways?
"come korea next time... FXO house... 10 korean, 10 korean"
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
May 28 2009 01:25 GMT
#24
everything has been answered for you

stop acting like a douche yo
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
imDerek
Profile Blog Joined August 2007
United States1944 Posts
May 28 2009 01:25 GMT
#25
try-catch-finally
Least favorite progamers: Leta, Zero, Mind, Shine, free, really <-- newly added
Chill
Profile Blog Joined January 2005
Calgary25986 Posts
May 28 2009 01:26 GMT
#26
You don't see why letting people log onto your account, using your veteran status to get answers, and then posting ridiculous flames is relevant?
Moderator
Divinek
Profile Blog Joined November 2006
Canada4045 Posts
May 28 2009 01:35 GMT
#27
You sure raped those bm'ing assholes but not actually reading their posts then replying!
Never attribute to malice that which can be adequately explained by stupidity.
Oh goodness me, FOX tv where do you get your sight? Can't you keep track, the puck is black. That's why the ice is white.
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
May 28 2009 01:38 GMT
#28
by courtesy of chill
http://www.teamliquid.net/staff/Chill/heav.png
lmfao
"come korea next time... FXO house... 10 korean, 10 korean"
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
May 28 2009 01:44 GMT
#29
import java.util.Scanner;
public class UserInput{

public String done= "DONE";;
public Scanner scan = new Scanner(System.in);
public String scanned = "";

public UserInput(){

System.out.println("Type a string. Max 20 characters.");
System.out.println("Type DONE, in all caps to end.");
while(scanned.compareTo(done) != 0){
try{
scanned = scan.next();
if(scanned.length() > 20){
throw new StringTooLongException();
}
System.out.println(scanned);
}
catch(StringTooLongException e){
System.out.println(e.getMessage());
System.out.println("Exception caught! Continuing...");
}
}
}

}

Woot. Fixed! Learn English guys. Jesus christ. If you meant to put the ENTIRE TRYCATCH inside the while loop, then that'd have been nice. w00t@Abysdos being helpful, printStackTrace actually made me compare the two programs I had, and whee.
"come korea next time... FXO house... 10 korean, 10 korean"
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
May 28 2009 01:46 GMT
#30
Hay RaGe why so cry to Nam instead of to me?
"come korea next time... FXO house... 10 korean, 10 korean"
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
May 28 2009 01:46 GMT
#31
no

obviously we meant put the try statement both inside and outside the while loop, and the catch statement should be in another program altogether.

HOW COULD WE BE SO UNCLEAR!
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
May 28 2009 01:47 GMT
#32
I mean dear god

try and catch in the same scope

WHAT ARE YOU TRYING TO DO TO ME
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
RaGe
Profile Blog Joined July 2004
Belgium9947 Posts
Last Edited: 2009-05-28 01:53:36
May 28 2009 01:51 GMT
#33
On May 28 2009 10:46 HeavOnEarth wrote:
Hay RaGe why so cry to Nam instead of to me?

Cause if you still don't understand what I wrote, you still don't understand how it works.

See you back when your next homework is due, cause I don't see you comprehending anything anytime soon.

edit: I mean, looking back, do you understand why your previous code didn't work? Why you needed to change the location of your try and catch blocks?

The mistake you made was assuming when an exception is thrown, after the catch block is executed, it resumes in the try block (which would completely ruin the function of try-catch blocks btw). I corrected that by literally saying it resumes after the catch block.
Moderatorsometimes I get intimidated by the size of my right testicle
nataziel
Profile Blog Joined October 2008
Australia1455 Posts
May 28 2009 01:52 GMT
#34
-_- = This whole thread
u gotta sk8
mahnini
Profile Blog Joined October 2005
United States6862 Posts
May 28 2009 01:52 GMT
#35
this is a terrible homework thread

1. code is unreadable
2. OP is stupid
3. OP doesnt know he's stupid
the world's a playground. you know that when you're a kid, but somewhere along the way everyone forgets it.
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
May 28 2009 01:54 GMT
#36
My friend's SFSkabam then.
"come korea next time... FXO house... 10 korean, 10 korean"
azndsh
Profile Blog Joined August 2006
United States4447 Posts
May 28 2009 01:55 GMT
#37
wait... how the hell is this NOT homework?
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
May 28 2009 01:57 GMT
#38
it is, hence them both working on the same thing. He just figures if he lies about it he can keep his thread open
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
May 28 2009 01:58 GMT
#39
He lives in Oregon i live in Texas
This is totally classwork for college. you got me man.
"come korea next time... FXO house... 10 korean, 10 korean"
SFSKabam
Profile Joined May 2009
United States1 Post
May 28 2009 01:59 GMT
#40
On May 28 2009 10:47 fusionsdf wrote:
I mean dear god

try and catch in the same scope

WHAT ARE YOU TRYING TO DO TO ME

On May 28 2009 10:46 fusionsdf wrote:
no

obviously we meant put the try statement both inside and outside the while loop, and the catch statement should be in another program altogether.

HOW COULD WE BE SO UNCLEAR!

I know right? Jesus, if only everyone ALREADY knew Java! Then I wouldn't need to politely ask a fucking question, and have some piece of shit named RaGe basically passive flame me with bullshit statement such as "LAWL YOURNUB LERN 2 KNOW JAVA, WHY ASK QUESTION LOL YOU HAS PRINT LINE OHNOES."

On May 28 2009 10:51 RaGe wrote:
Show nested quote +
On May 28 2009 10:46 HeavOnEarth wrote:
Hay RaGe why so cry to Nam instead of to me?

Cause if you still don't understand what I wrote, you still don't understand how it works.

See you back when your next homework is due, cause I don't see you comprehending anything anytime soon.

Actually, this's the first problem I've had big enough problem to fucking post online. Probably not the last, but certainly the last for a long time.

On May 28 2009 10:52 mahnini wrote:
this is a terrible homework thread

1. code is unreadable
2. OP is stupid
3. OP doesnt know he's stupid


1: Code is perfeclty indented, TL.net is just pathetic and doesn't know what a "tab" space is?
2: Rofl
3: Rofl these don't even deserve a comment.

On May 28 2009 10:51 RaGe wrote:
edit: I mean, looking back, do you understand why your previous code didn't work? Why you needed to change the location of your try and catch blocks?

The mistake you made was assuming when an exception is thrown, after the catch block is executed, it resumes in the try block (which would completely ruin the function of try-catch blocks btw). I corrected that by literally saying it resumes after the catch block.

JESUS CHRIST, THAT'S EXACTLY WHAT I ASKED AT THE TOP?

ME:
Firstly, the throw is inside a while loop. What I'm wondering is why the crap it isn't continuing the while loop, opposed to what it does now; which is ends the program. It should not be ending the program, it should be throwing an error, catching it, and then going back to the while loop.

Notice how I said "I'm wondering why ..." ? The first time I put trycatch inside a while loop I got a fucking runtime error in Eclipse.

ALSO IT'S NOT FUCKING HOMEWORK. IT'S HELP IN UNDERSTANDING. Fuck off.
TL.Net fails. lawl.
Prev 1 2 3 4 5 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 10h 59m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft495
Livibee 74
Nina 9
StarCraft: Brood War
Artosis 853
NaDa 23
Dota 2
monkeys_forever478
XaKoH 348
NeuroSwarm47
Counter-Strike
Stewie2K306
Super Smash Bros
AZ_Axe274
Mew2King52
Heroes of the Storm
Khaldor183
Other Games
summit1g8265
FrodaN4517
Grubby2560
JimRising 299
Skadoodle215
Maynarde153
ViBE127
KnowMe125
Organizations
Other Games
gamesdonequick1394
BasetradeTV30
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH84
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21151
League of Legends
• Doublelift4622
Upcoming Events
Wardi Open
10h 59m
CrankTV Team League
11h 59m
Streamerzone vs Shopify Rebellion
TBD vs Team Vitality
Monday Night Weeklies
15h 59m
Replay Cast
1d 8h
WardiTV Invitational
1d 10h
CrankTV Team League
1d 11h
BASILISK vs TBD
Team Liquid vs Team Falcon
Replay Cast
2 days
CrankTV Team League
2 days
Replay Cast
2 days
The PondCast
3 days
[ Show More ]
CrankTV Team League
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

ASL Season 20
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
CSL 2025 AUTUMN (S18)
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
Eternal Conflict S1
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.