• Post Reply Bookmark Topic Watch Topic
  • New Topic

can you  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is JAVA the best way to read in a text file, and then compare it to the students input, one word at a time?

Thanks, Diane
 
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scripting languages like Perl or my old favorite REXX are well suited to string handling. Java will do perfectly well, though, and if it's your goal to get better at Java any little task like that will be good practice.
 
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also depends how you want the results displayed or if you want it integrated into some other program.

For example, there are some advanced diff programs that have extensive user interfaces and visual displays, even though they might be based on diff processing techniques that are years old.
 
We don't have time for this. We've gotta save the moon! Or check this out:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!