I am making a project which reads a text file contains thousands of tweets, reads the file, splits the hastags and make operations on them. I wrote a text file by myself and everything worked fine. I tried to use text file in this website http://ift.tt/1vqrO3p and I got a problem. Part of my code is :
while (scan.hasNext())
{
//Operations
}
When I use the text file on that website, code skips this loop. According to Java, that text file hasn't got next lines. Can anybody tell me what's wrong with that file? Since my project will be graded by using that text file, I have to find the problem.
Aucun commentaire:
Enregistrer un commentaire