主题:求助
1)有一文件org.dat,此文件中按文本方式存放了一段其他文章,其中有若干长度小于15的英文单词,单词之间用空格分开,无其他符号。
(2)顺序读取这段文章的不同的单词(大小写敏感),同时在读取的过程中排除所有的单词THE以及变形,即这些单词不能出现在读取的结果中。
(3)将读取的所有单词的首字母转大写后,输出D根目录下new.txt,每个单词一行。
------------------------
那段文字可以点右键打开方式中用记事本打开,内容是:
The constructor is used to initialize the object
The destructor is used to delete the Object the calling seqence of
constructor is opposite to the calling sequence of destructor
请那位高手帮忙解决一下,挺急的,谢谢!
(2)顺序读取这段文章的不同的单词(大小写敏感),同时在读取的过程中排除所有的单词THE以及变形,即这些单词不能出现在读取的结果中。
(3)将读取的所有单词的首字母转大写后,输出D根目录下new.txt,每个单词一行。
------------------------
那段文字可以点右键打开方式中用记事本打开,内容是:
The constructor is used to initialize the object
The destructor is used to delete the Object the calling seqence of
constructor is opposite to the calling sequence of destructor
请那位高手帮忙解决一下,挺急的,谢谢!