|
L1
Oct 27, 2001 21:30:47 GMT -5
Post by Majin_Blues on Oct 27, 2001 21:30:47 GMT -5
yes... you should probably use chars to avoid all those other icky non-letter characters..
besides, they only want capital letters, and not all those other weird symbols
|
|
|
L1
Oct 30, 2001 6:47:49 GMT -5
Post by pandachan on Oct 30, 2001 6:47:49 GMT -5
I don't know why u guys are using toUpperCase. I used isUpperCase. So..isUpperCase doesn't consider numbers or sth else as a uppercase letter...try to use "isUpperCase"
|
|
|
L1
Oct 31, 2001 19:45:21 GMT -5
Post by Sylph on Oct 31, 2001 19:45:21 GMT -5
what's isUpperCase ? it's not in the api...
|
|
|
L1
Nov 1, 2001 9:53:47 GMT -5
Post by pandachan on Nov 1, 2001 9:53:47 GMT -5
it is in the api... check under "class character"
|
|
|
L1
Nov 1, 2001 13:23:39 GMT -5
Post by Sylph on Nov 1, 2001 13:23:39 GMT -5
ok! thanks; i found it. ;D ;D ;D
|
|
DK
Junior Member
Posts: 23
|
L1
Nov 3, 2001 12:51:31 GMT -5
Post by DK on Nov 3, 2001 12:51:31 GMT -5
Does anyone know if we should consider "quit" and "Quit" as two separate strings?
e.g. user types: Quit quit stop looping?
|
|
|
L1
Nov 3, 2001 14:10:34 GMT -5
Post by Brutal_Chicken on Nov 3, 2001 14:10:34 GMT -5
If the user types "Quit" then it is just printed out. It has to be exactly "quit".
|
|
|
L1
Nov 4, 2001 12:56:40 GMT -5
Post by Sylph on Nov 4, 2001 12:56:40 GMT -5
in the handout, it doesn't say when the user types "quit" in quotation marks, so maybe it still should work when it's capitalized? would the autotester really check for things like that just to screw w/ u?
|
|
|
L1
Nov 4, 2001 13:05:14 GMT -5
Post by bladehunter on Nov 4, 2001 13:05:14 GMT -5
Don't know about autotester trying to screw the program, but i do know this.
For L1, u enter input, then print input.
No need for long string.
|
|
|
L1
Nov 4, 2001 13:15:16 GMT -5
Post by Majin_Blues on Nov 4, 2001 13:15:16 GMT -5
the paper says "quit" with a small q, so go by that... (i read it in the newsgroup too)
there's more to than just printing the input for L1, isn't there? (like printing the lines that start with a caps letter?)
|
|
|
L1
Nov 4, 2001 13:16:19 GMT -5
Post by Sky on Nov 4, 2001 13:16:19 GMT -5
in the handout...the word 'quit' is in a different font ...same font as file names...so just like the file names they have on the handout...they want 'quit' only i guess
|
|
|
L1
Nov 4, 2001 13:24:21 GMT -5
Post by Majin_Blues on Nov 4, 2001 13:24:21 GMT -5
bingo! ;D otherwise, we're all screwed...
|
|
|
L1
Nov 4, 2001 19:50:17 GMT -5
Post by EurasianVixen on Nov 4, 2001 19:50:17 GMT -5
When the user types "quit" how do you get the program to exit/close? Is there code for that?
|
|
|
L1
Nov 4, 2001 20:02:07 GMT -5
Post by Majin_Blues on Nov 4, 2001 20:02:07 GMT -5
just make the loop stop... (by assigning your condition so it stops the loop)
|
|
|
L1
Nov 8, 2001 16:01:59 GMT -5
Post by Brutal_Chicken on Nov 8, 2001 16:01:59 GMT -5
Hmm, guys how did you handle it when the user just presses "enter" and not types a thing?
|
|