Computer Science Canada removes 4 letter words |
Author: | aliveiswell [ Mon Jan 12, 2004 5:45 pm ] | ||
Post subject: | removes 4 letter words | ||
this was the final test for some of the people in my class. it's pretty simple but im proud of it. it removes all 4 letter words from a sentence.
|
Author: | Cervantes [ Mon Jan 12, 2004 6:00 pm ] |
Post subject: | |
cool idea, kinda pointless ![]() ![]() |
Author: | Tony [ Mon Jan 12, 2004 6:18 pm ] |
Post subject: | |
i remember doing something like that a long while back... I think the story behind the program was to sensor a certain 4 letter word, but since it can easily be modified, they desided to just sensor all 4 letter words ![]() ![]() |
Author: | shorthair [ Fri Jan 23, 2004 10:21 am ] |
Post subject: | |
Ummmm your proram is good at what it does , ![]() |
Author: | Tony [ Fri Jan 23, 2004 3:07 pm ] |
Post subject: | |
well as long as an app is sensoring, there will always be a way around it ![]() 5uch 45 1337 5p34k, sensor that ![]() heh, the only way I suppose would be to sensor everything that is not part of the dictionary of allowed words ![]() |
Author: | Maverick [ Fri Jan 23, 2004 3:09 pm ] |
Post subject: | |
Y35 7H47 15 4 G00D 1D3A! |
Author: | Andy [ Fri Jan 23, 2004 5:24 pm ] |
Post subject: | |
u should've used index |
Author: | sport [ Fri Jan 23, 2004 7:12 pm ] | ||
Post subject: | |||
If getting the sentence from a file you can use length command.
|
Author: | sport [ Fri Jan 23, 2004 7:13 pm ] |
Post subject: | |
You will need a file called NAME in order for the program to work. |
Author: | jonos [ Mon Jan 26, 2004 10:51 am ] |
Post subject: | |
You could have just concatenated the different parts together at each new space, and not used an array. |