Re: Open a file and count vowels




"Daniel Pitts" <googlegroupie@xxxxxxxxxxxxx> wrote in message
news:1167526652.045840.9510@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Christopher Benson-Manica wrote:
Matt <mattaseymour@xxxxxxxxx> wrote:

I am trying to create a program which will allow the user to
open there
desired text file and count the number of Vowels, and lines in
the
text. As of yet i cant find or dont know how to produce this
program. I
need to use Java was wondering if anyone has any ideas.

Use the classes and methods in the java.io package to open the
file.
Your friendly Java reference can tell you more. Read each line.
Keep
count. Look at each character and see if it's a vowel. Keep
count.

It should be beyond trivial for you to demonstrate 0.00001%
effort and
1) use Google as a source of information, 2) read your friendly
textbook, and 3) try it yourself.
4) pay attention in class :-)

That was my problem. But then again, I did get the chick with the
long legs so not all was lost.



.



Relevant Pages

  • Re: Open a file and count vowels
    ... desired text file and count the number of Vowels, ... As of yet i cant find or dont know how to produce this program. ... Your friendly Java reference can tell you more. ...
    (comp.lang.java.programmer)
  • Re: Open a file and count vowels
    ... desired text file and count the number of Vowels, ... As of yet i cant find or dont know how to produce this program. ... Your friendly Java reference can tell you more. ...
    (comp.lang.java.programmer)
  • Open a file and count vowels
    ... desired text file and count the number of Vowels, ... As of yet i cant find or dont know how to produce this program. ... need to use Java was wondering if anyone has any ideas. ...
    (comp.lang.java.programmer)
  • Re: [PHP] preg_match
    ... > i cant find de way to add vowels with accent (���,,,� and other ... > characters to the preg_match function. ...
    (php.general)
  • Re: How many vowels did ancient Egyption language have?
    ... I have some modern sylaberies and I see the admonition that we dont know ... languages like gree, which give us some clues as to the old vowels. ... Coptic is a direct descendant of Ancient Egyptian anmd is still in use as ...
    (sci.lang)