• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:10
CEST 15:10
KST 22:10
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence6Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups3WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia7Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
#1: Maru - Greatest Players of All Time Team Liquid Map Contest #21 - Presented by Monster Energy Weekly Cups (Sept 8-14): herO & MaxPax split cups SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament WardiTV TL Team Map Contest #5 Tournaments Maestros of The Game—$20k event w/ live finals in Paris RSL: Revival, a new crowdfunded tournament series SC4ALL $6,000 Open LAN in Philadelphia
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ro16 Preview Pt2: Turbulence Diplomacy, Cosmonarchy Edition BW General Discussion ASL20 General Discussion
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Nintendo Switch Thread Borderlands 3
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1622 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
Calgary25981 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
OSC
13:00
King of the Hill #225
iHatsuTV 0
Liquipedia
2v2
11:00
TLMC $500 2v2 Open Cup
WardiTV456
IndyStarCraft 134
Rex80
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko427
IndyStarCraft 134
Rex 80
ProTech67
Codebar 1
StarCraft: Brood War
Calm 16950
Flash 10383
Rain 6575
Bisu 5010
GuemChi 4520
BeSt 1625
Horang2 1390
EffOrt 1174
Mini 861
Hyuk 737
[ Show more ]
Pusan 565
Zeus 556
ZerO 497
firebathero 467
Hyun 247
Soulkey 220
Snow 169
Mind 142
Rush 125
ggaemo 81
Mong 76
Barracks 62
soO 56
JYJ53
Liquid`Ret 52
Backho 47
Aegong 46
Killer 39
Movie 34
Sharp 30
Sacsri 18
sorry 18
Free 18
Terrorterran 15
HiyA 13
Yoon 12
Icarus 10
SilentControl 9
Hm[arnc] 7
IntoTheRainbow 6
Bale 6
Noble 5
Dota 2
Gorgc4019
singsing3995
Dendi1660
qojqva1580
XcaliburYe241
Pyrionflax184
Fuzer 154
Counter-Strike
byalli218
markeloff168
zeus99
edward20
Other Games
olofmeister1225
B2W.Neo841
hiko804
x6flipin406
crisheroes387
Hui .237
Happy166
QueenE56
NeuroSwarm46
Trikslyr34
FunKaTv 20
ToD6
Organizations
StarCraft: Brood War
Afreeca ASL 21433
UltimateBattle 348
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2547
• WagamamaTV401
League of Legends
• Nemesis6036
• TFBlade252
Upcoming Events
PiGosaur Monday
10h 50m
LiuLi Cup
21h 50m
RSL Revival
1d 20h
Maru vs Reynor
Cure vs TriGGeR
The PondCast
1d 23h
RSL Revival
2 days
Zoun vs Classic
Korean StarCraft League
3 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
BSL Open LAN 2025 - War…
4 days
RSL Revival
4 days
[ Show More ]
Online Event
5 days
Wardi Open
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 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.